Java - Methods and Code Reusability
What is the output of this code?
public class Test {
public static int getNumber() {
return 5;
}
public static void main(String[] args) {
System.out.println(getNumber());
}
}