Test Status
      COREJAVARANDOMTEST
      (A) The run() method should be directly invoked on the Object.
      (B) The start() method should be directly invoked on the Object.
      (C) The init() method should be directly invoked on the Object.
      (D) The creation of the object using the new operator would create a new thread and invoke its run() method.
      (A) 0x03, 0X03, 0X3
      (B) 0x04, 0X04, 0X4
      (C) 0x05, 0X05, 0X5
      (D) none of these
      (A) package payroll;package admindept;
      (B) package payroll.admindept.Sample;
      (C) package payroll.admindept;
      (D) import payroll.admindept.*
      (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) number_1
      (B) number_a
      (C) $1234
      (D) All of the above.
      (A) interest = 3929.92
      (B) interest = (Float)3929.92
      (C) interest = 3929.92 (float)
      (D) interest = 3929.92f
      (A) MIN_PRIORITY (which is defined as 1 in the Thread class.)
      (B) NORM_PRIORITY (which is defined as 5 in the Thread class.)
      (C) MAX_PRIORITY (which is defined as 10 in the Thread class.)
      (D) A thread inherits the priority of its parent thread.
      (A) Each Java file must have exactly one package statement to specify where the class is stored.
      (B) If a Java file has both import and package statement, the import statement must come before package statement.
      (C) A Java file has at least one class defined.
      (D) If a Java file has a package statement, it must be the first statement (except comments).
      (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) An exception can be thrown by throw keyword explicitly.
      (B) An exception can be thrown by throws keyword explicitly.