R
Q. What will be the output of the following Java program?
class bitwise_operator { public static void main(String args[]) { int var1 = 42; int var2 = ~var1; System.out.print(var1 + " " + var2); } }
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. What will be the output of the following code
Q. What will be the output of the following code
Q. toRadian() and toDegree() methods were added by which version of Java?
Q. Which will legally declare, construct, and initialize an array?
Q. What is the default access modifier for class members in Java if no access modifier is specified?
Discusssion
Login to discuss.