download Mastguru Android App

Question Detail

Execution of the program is always begins with

  • Main method
  • class contain main method
  • parent class
  • default package
Similar Questions :

1. Methods that have same name, but different Parameter list and different definition known as

  • Overriding
  • Constructor
  • Overloading
  • none of these

2. Which command disassembles a class file

  • javaamd
  • javacmd
  • java
  • javap

3. Which method executes only once

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

4. x=x+1 is equivalent to

  • ++x
  • x++
  • x=x-1
  • None of these

5. Package of drawstring() method is

  • java.applet
  • java.io
  • javax.swing
  • java.awt
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment