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. Which method executes only once

  • start() method
  • init() method
  • stop() method
  • destroy() method

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

  • int
  • char
  • bollean
  • byte

3. Suspend thread can be revived by using

  • start() method
  • Suspend() method
  • resume() method
  • yield() method

4. Package of drawstring() method is

  • java.applet
  • java.io
  • javax.swing
  • java.awt

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

  • abstract class
  • parent class
  • Final class
  • None of above
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment

  • Rao 10 years ago

    i think the answer should be D