Answers for "Arguments method java"


method parameters java

public class Main {
  static int myMethod(int x) {
    return 5 + x;

  public static void main(String[] args) {
// Outputs 8 (5 + 3)
Posted by: Guest on August-11-2021

what are parameters in java

public static void hello (String hey, String wassup) 
//the paramter in this case is located in the parenthesis
Posted by: Guest on March-26-2021

Code answers related to "Arguments method java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language