Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Method Parameters in Java

// method with two parameters
int addNumbers(int a, int b) {
  // code
}

// method with no parameter
int addNumbers(){
  // code
}
 
PREVIOUS NEXT
Tagged: #Method #Parameters #Java
ADD COMMENT
Topic
Name
8+3 =