Test Status
      COREJAVARANDOMTEST
      (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) An instance of a class is an object
      (B) Objects can access both static and instance data
      (C) Objects do not permit encapsulation
      (D) Object is the super class of all other classes
      (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) data has the value of true
      (B) The code will not compile.
      (C) data has the value of false
      (D) data has the value of null
      (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) 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) The elements in the collection are unique.
      (B) The collection is guaranteed to be immutable
      (C) The elements in the collection are ordered.
      (D) The elements in the collection are synchronized.
      (A) The class compiles and runs, but does not print anything.
      (B) The number 1 gets printed with AssertionError
      (C) The number 2 gets printed with AssertionError
      (D) The number 3 gets printed with AssertionError