download Mastguru Android App

Question Detail

Can we access private class outside the package

  • Yes
  • No
Similar Questions :

1. Execution of the program is always begins with

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

2. Java beans have no types

  • True
  • False

3. Private Constructors can't be access from any derived classes neither from another class

  • True
  • False

4. Which method executes only once

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

5. Main method parameter has which type of data type

  • int
  • char
  • string
  • double
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment