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) 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) 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) final
      (B) static
      (C) we cant prevent
      (D) by default it provides
      (A) public static int main(char args[])
      (B) public static 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) 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) are final
      (B) are private
      (C) are serializable
      (D) are immutatable