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 of these is supported by method overriding in Java?
Choose the right statement about Java Data types.
What will be the output of the following program?
Which are the methods used to parse string values to the respective data types in Java?
In Java, the keyword used to declare a class is ___.
Which of these class is super class of all AWT events?
What is the output of the Java code snippet?
Discusssion
Login to discuss.