Test Status
      COREJAVARANDOMTEST
      (A) protected
      (B) implements Throwable
      (C) serializable
      (D) extends Throwable
      (A) implement
      (B) friend
      (C) NULL
      (D) synchronized
      (A) public static int main(String args[])
      (B) public void main(String args)
      (C) public static void main(String args[])
      (D) public static void main(string args[])
      (A) methods must not have any throws clauses
      (B) methods must not have any parameters
      (C) method should return any one of primitive data types
      (D) All the above
      (A) If a Java class contains assert statements, then it must be compiled with -1.4 option.
      (B) When a program having assertions is run, -assertion option must be specified, otherwise the assertions get ignored.
      (C) A possible syntax of assert statement is assert logical_expression If logical_expression evaluates to true, the program generates an AssertionError.
      (D) The program terminates on its first AssertionError.
      (A) The class does not compile because the top level class cannot be protected.
      (B) The program prints "abc"
      (C) The program prints "abcabc"
      (D) The program does not compile because statement "test = test + test" is illegal.
      (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 >>.