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. Which operator is used to implement unsigned right shift of an integer?
Q. Which of the following is used to rollback a JDBC trAnsweraction?
Q. Which of these constructors is used to create an empty String object?
Q. What will be the output of the following Java code?
Q. Iterator returned by ConcurrentHashMap on key, value and entry is?
Q. In character stream I/O, a single read/write operation performs _____.
Discusssion
Login to discuss.