M
Q. What will be the result of compiling the following code?~~~public class Test~~~{~~~static int age;~~~public static void main (String args [])~~~{~~~age = age + 1;~~~System.out.println("The age is " + age);~~~}~~~}
- Correct Answer - Option(B)
- Views: 103
- Filed under category JAVA
Discusssion
Login to discuss.