Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Describe Methods Overloading in Java

public static int sum(int x, int y) {
  return x + y;
}

public static int sum(int x, int y, int z) {
  return x + y + z;
}
 
PREVIOUS NEXT
Tagged: #Describe #Methods #Overloading #Java
ADD COMMENT
Topic
Name
8+6 =