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. Which method is used to perform DML statements in

JDBC

  • execute()
  • executeUpdate()
  • executeQuery()
  • None of above

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

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

3. Process of creating exact copy of the existing object is called

  • cloning
  • overloading
  • overriding
  • coping

4. Which of the following command is used to compile the Java program

  • java
  • javac
  • javap
  • none of these

5. How many transaction isolation levels are defined in java.sql.Connection interface

  • 4
  • 3
  • 5
  • 2
Read more from - Java Objective Questions Answers -Chapter 1