R
Q. What is the output of the below Java program?
outer: for(int i=1; i<=2;i++) { inner: for(int j=1; j<=2;j++) { if(j>i) break inner; System.out.print(j +","); } }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Java is a ........... language.
Q. Which of these classes is related to all the exceptions that cannot be caught?
Q. Which of the following method is not belonging to the String class?
Q. What is the output of Java Enhanced FOR loop below?
Q. 'this' keyword in java is ___.
Q. What is the output of the following code snippet?
Q. The new operator dynamically allocates ________ for an object and returns a reference to it.
Discusssion
Login to discuss.