Test Status
      COREJAVARANDOMTEST
      (A) compile and display â??Equalâ??
      (B) compile and display â??Not Equalâ??
      (C) cause a compiler error
      (D) compile and display NULL
      (A) Length, Denominator
      (B) Significant Digits, Exponent
      (C) Mode, Numerator
      (D) Length, Numerator
      (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) 0x03, 0X03, 0X3
      (B) 0x04, 0X04, 0X4
      (C) 0x05, 0X05, 0X5
      (D) none of these
      (A) Java provides two operators to do left shift - << and <<<.
      (B) >> is the zero fill right shift operator.
      (C) >>> is the signed right shift operator.
      (D) For positive numbers, results of operators >> and >>> are same.
      (A) To check whether the subclass method is overrides from the superclass or not
      (B) To say to the compiler not to execute this override method.
      (C) To say to compiler that this method is deprecated
      (D) None of the above
      (A) int[] []x[];
      (B) int x[5];
      (C) int *x;
      (D) None of 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.