download Mastguru Android App

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. 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

2. Constructor has return type

  • True
  • False

3. what is jdb

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

4. Which keyword is used while using interface

  • extend
  • implements
  • throw
  • throws

5. String is the predefined

  • Method
  • Class
  • Variable
  • Object
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment