Test Status
      COREJAVARANDOMTEST
      (A) The program compiles and prints y is 0 when executed.
      (B) The program compiles and prints y is 1 when executed.
      (C) The program compiles and prints y is 2 when executed.
      (D) The program does not compile complaining about y not being initialized.
      (A) && operator is used for short-circuited logical AND.
      (B) ~ operator is the bit-wise XOR operator.
      (C) operator is used to perform bitwise OR and also short-circuited logical OR.
      (D) The unsigned right shift operator in Java is >>.
      (A) A static inner class does not require an instance of the enclosing class.
      (B) A static inner class cannot be a static member of outer class.
      (C) It must extend enclosing class.
      (D) Itâ??s variables and methods must be static.
      (A) A super class is a sub set of a sub class
      (B) class ClassTwo extends ClassOne means ClassOne is a subclass
      (C) class ClassTwo extends ClassOne means ClassTow is a super class
      (D) the class Class is the super class of all other classes in Java.
      (A) The class compiles and runs, but does not print anything.
      (B) The number 1 gets printed with AssertionError
      (C) The program generates a compilation error.
      (D) The number 2 gets printed with AssertionError
      (A) If programmer want to use several threads then he have to use StringBuffer
      (B) StringBuffer Class is synchronized and StringBuilder is not synchronized
      (C) String class is immutable, StringBuffer and StringBuilder are mutable
      (D) All the above
      (A) String str = â??Welcome to Java Programmingâ??
      (B) String str = new String( â??Welcome to Java Programmingâ?? )
      (C) String str; str = â??Welcome to Java Programmingâ??
      (D) String str; str = new String (â??Welcome to Java Programmingâ?? )
      (A) public void main();
      (B) public static void main(String args[]);
      (C) static public void main(String);
      (D) public static int main(String args[]);