Question Detail

In java, gc() method is available in which package

  • java.lang package
  • java.util package
  • java.awt package
  • java.io package
Similar Questions :

1. Which metrhods are utilized to control the access to an object in multi threaded programming

  • Asynchronized methods
  • Synchronized methods
  • Serialized methods
  • None of above

2. Execution of the program is always begins with

  • Main method
  • class contain main method
  • parent class
  • default package

3. Which type of inheritance is not supported by java

  • Single
  • Multiple
  • Mulilevel
  • Hirarchical

4. Java beans have no types

  • True
  • False

5. Inheritance means

  • Sub class extends super class
  • Sub class extends Base class
  • Sub class create object of super class
  • All of the above
Read more from - Java Objective Questions Answers -Chapter 1