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. Java intermediate code is known as

  • First code
  • Mid code
  • Byte code
  • None of above

2. Which collection class associates values witch keys, and orders the keys according to their natural order

  • java.util.HashSet
  • java.util.LinkedList
  • java.util.TreeMap
  • java.util.SortedSet

3. Which method of the Applet class displays the result of applet code on screen

  • run() method
  • paint() method
  • drawString() method
  • main() method

4. javah stands for

  • java compiler
  • java interpreter
  • java dissasamebler
  • java header file

5. Interfaces helps in which type of inheritance

  • Multiple inheritance
  • Multilevel inheritance
  • Hierarchical inheritance
  • None of above
Read more from - Java Objective Questions Answers -Chapter 1