70 Java MCQS Questions
1.The default value of a static integer variable of a class in Java is, (a) 0 (b) 1 (c) Garbage value (d) Null (e) -1. Answer:A 2.What will be printed as the output of the following program? public class testincr { public static void main(String args[]) { int i = 0; i = i++ + … Read more