P
Q. What will be the output of the following Java program?
class bitwise_operator { public static void main(String args[]) { int a = 3; int b = 6; int c = a | b; int d = a & b; System.out.println(c + " " + d); } }
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 is the output of the following code?
Q. Which of these statements are incorrect?
Q. Which of these is supported by method overriding in Java?
Q. Which of these method of class String is used to extract a single character from a String object?
Q. In which year, Sun Microsystems released much of its Java virtual machine?
Q. What is stored in the object obj in following lines of code? box obj;
Q. What are the part in executing a Java program and their purposes?
Q. What guarantees type-safety in a collection?
Q. Which of the following is true about the size of an ArrayList in Java?
Discusssion
Login to discuss.