Question Detail

Main method parameter has which type of data type

  • int
  • char
  • string
  • double
Similar Questions :

1. Can we access private class outside the package

  • Yes
  • No

2. Which method executes only once

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

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

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

4. Super is the predefined

  • Keyword
  • Method
  • Keyword and Method
  • None of above

5. Which command is used for interpretation of java program

  • Java
  • javac
  • javap
  • none of above
Read more from - Java Objective Questions Answers -Chapter 1