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 command is used for interpretation of java program

  • Java
  • javac
  • javap
  • none of above

2. Converting a primitive type data into its corresponding wrapper class object instance is called

  • boxing
  • wrapping
  • instantiation
  • autoboxing

3. All raw data types should be read and uploaded to the database as an array of

  • int
  • char
  • bollean
  • byte

4. In which we clone the object and their constituent parts

  • Shallow cloning
  • Deep cloning
  • Both of above
  • None of above

5. All methods of interface are public and abstract

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