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. What do you mean by javap

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

2. Which keyword is used while using interface

  • extend
  • implements
  • throw
  • throws

3. JAR file contains the compressed version of

  • .java file
  • .class file
  • .jsp file
  • None of above

4. Program which executes applet is known as

  • applet engine
  • virtual machine
  • JVM
  • None of above

5. Which of the following statements about arrays is syntactically wrong

  • arrayName[] p = new arrayName[5];
  • arrayName p[5];
  • arrayName[] p [];
  • arrayName p[][] = new arrayName[2][];
Read more from - Java Objective Questions Answers -Chapter 1