Question Detail

The inner class can access private members of the outer class

  • False
  • True
Similar Questions :

1. Which method executes only once

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

2. Inheritance means

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

3. Execution of the program is always begins with

  • Main method
  • class contain main method
  • parent class
  • default package

4. Which method can't be overidden

  • super
  • static
  • final
  • println

5. All methods of interface are public and abstract

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