download Mastguru Android App

Question Detail

Inheritance means

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

1. All collection classes are available in

  • java.io package
  • java.lang package
  • java.awt package
  • java.util package

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

  • boxing
  • wrapping
  • instantiation
  • autoboxing

3. Which command disassembles a class file

  • javaamd
  • javacmd
  • java
  • javap

4. Main method parameter has which type of data type

  • int
  • char
  • string
  • double

5. Which command is used for interpretation of java program

  • Java
  • javac
  • javap
  • none of above
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment

  • Rao 11 years ago

    i think the answer should be D