Answer:
public class testing
{
public static void main(String[] args)
int x = 18;
int y = 6;
System.out.println(addNumbers(x, y));
}
public static int addNumbers(int a, int b)
return a + b;
1.6m questions
2.0m answers