Test Status
      CORETEST7
      (A) The range of values is compiler dependent.
      (B) -231 to 231 - 1
      (C) 231-1 to 231
      (D) -215 to 215 - 1
      (A) An exception can be thrown by throw keyword explicitly.
      (B) An exception can be thrown by throws keyword explicitly.
      (A) The program compiles and runs but does not print anything.
      (B) The program compiles and runs and prints 0
      (C) The program compiles and runs and prints 1
      (D) The program compiles and runs and prints 2
      (A) By invoking the free method on the object.
      (B) By calling system.gc() method.
      (C) By setting all references to the object to new values (say null).
      (D) Garbage collection cannot be forced. The programmer cannot force the JVM to free the memory used by an object.
      (A) are final
      (B) are private
      (C) are serializable
      (D) are immutatable
      (A) The program does not compile as k is being read without being initialized.
      (B) The program does not compile because of the statement k = j = i = 1;
      (C) The program compiles and runs printing 1.
      (D) The program compiles and runs printing 2.
      (A) compile and display â??Equalâ??
      (B) compile and display â??Not Equalâ??
      (C) cause a compiler error
      (D) compile and display NULL
      (A) void m() throws IOException{}
      (B) void m() throw IOException{}
      (C) void m(void) throws IOException{}
      (D) void m() {} throws IOException
      (A) By using the keyword public before the variable.
      (B) By using the keyword protected before the variable.
      (C) By using the keyword private before the variable.
      (D) The variable should not be preceded by any of the above mentioned keywords.