Home / Programming MCQs / JAVA MCQs / Question
S
Q. What will be the output of following java code?
public class Test{ static int i = 5; public static void main(String... args){ System.out.println(i++); System.out.println(i); System.out.println(++i); System.out.println(++i+i++); } }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Which provides accessibility to classes and interface?
Which is the first line to trigger a compiler error?
What is the output of this program?
What is the range for the type of char data in Java?
Which provides runtime environment for java byte code to be executed?
A ------------- is a component that can hold other components.
A HashMap permits the existence of:
Discusssion
Login to discuss.