download Mastguru Android App

Question Detail

Can we access private class outside the package

  • Yes
  • No
Similar Questions :

1. Which method of java is invoked by JVM to reclaim the inaccessible memory location

  • reclaim() method
  • final() method
  • finalize() method
  • both b and c

2. Which type of inheritance is not supported by java

  • Single
  • Multiple
  • Mulilevel
  • Hirarchical

3. Why we use array as a parameter of main method

  • it is syntax
  • Can store multiple values
  • Both of above
  • None of above

4. JAR file contains the compressed version of

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

5. There is no default transaction attribute for an EJB

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