Java - Memory Management Basics
What will be the output of this Java code?
public class Test {
public static void main(String[] args) {
int a = 5;
int b = 10;
int c = add(a, b);
System.out.println(c);
}
public static int add(int x, int y) {
return x + y;
}
}