P
Q. What will be the output of the following Java program?
class Output { public static void main(String args[]) { int a = 5; int b = 10; first: { second: { third: { if (a == b >> 1) break second; } System.out.println(a); } System.out.println(b); } } }
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. If you access an uninitialized local variable will result?
Q. When does Exceptions in Java arises in code sequence?
Q. Base class is also known as
Q. Which of the following is a correct constructor for thread?
Q. Java language has support for which of the following types of comment ?
Q. Which of the following is smallest integer data type ?
Discusssion
Login to discuss.