Consider the following JAVA program:
public class First {
public static int CBSE (int x) {
if (x < 100) x = CBSE (x +10);
return (x - 1);
}
public static void main (String[] args){
System.out.print(First.CBSE(60));
}
}
What does this program print?
(1) 59
(2) 95
(3) 69
(4) 99
public class First {
public static int CBSE (int x) {
if (x < 100) x = CBSE (x +10);
return (x - 1);
}
public static void main (String[] args){
System.out.print(First.CBSE(60));
}
}
What does this program print?
(1) 59
(2) 95
(3) 69
(4) 99