Question Detail

If method have same name as class name and method don’t have any return type then it is known as

  • Destructors
  • Object
  • Variable
  • Constructor
Similar Questions :

1. In Runnable, many threads share the same object instance

  • True
  • False

2. The Externizable interface extends the serializable interface

  • True
  • False

3. what is jdb

  • java compiler
  • java Interpreter
  • java Disassemble
  • java debugger

4. Inheritance means

  • Sub class extends super class
  • Sub class extends Base class
  • Sub class create object of super class
  • All of the above

5. Which is the predefined package

  • Lang package
  • io package
  • util package
  • All of above
Read more from - Java Objective Questions Answers -Chapter 1