Test Status
      COREJAVARANDOMTEST
      (A) The member variable called size
      (B) The member variable called length
      (C) The method size() returns the number of characters.
      (D) The method length() returns the number of characters.
      (A) we can create object implementation to an interface
      (B) all type of modifiers are allowed to an interface
      (C) we instantiate an interface directly
      (D) we can mark interface as final
      (A) The method converts an integer to a String.
      (B) The method is used to convert String to an integer, assuming that the String represents an integer.
      (C) The method is used to convert String to Integer class, assuming that the String represents an integer.
      (D) The method converts the Integer object to a String.
      (A) "odd" will always be output.
      (B) "even" will always be output.
      (C) Compilation fails.
      (D) "odd" will be output for odd values of x, and "even" for even values.
      (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) The program does not compile because x, y and name are not initialized.
      (B) The program throws a runtime exception as x, y, and name are used before initialization.
      (C) The program prints pnt is 0 0.
      (D) The program prints pnt is null 0 0.
      (A) The program does not compile as i is not initialized.
      (B) The program compiles but does not run.
      (C) The program compiles and runs but does not print anything.
      (D) The program prints 0.
      (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â?? )