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. Constructor has return type

  • True
  • False

2. Which class cannot be subclassed (or extended) in java?

  • abstract class
  • parent class
  • Final class
  • None of above

3. The Externizable interface extends the serializable interface

  • True
  • False

4. Executable applet is

  • .applet file
  • .java html
  • .java file
  • .class file

5. Private Constructors can't be access from any derived classes neither from another class

  • True
  • False
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment