download Mastguru Android App

Question Detail

Which command is used for interpretation of java program

  • Java
  • javac
  • javap
  • none of above
Similar Questions :

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

  • Overriding
  • Constructor
  • Overloading
  • none of these

2. Suspend thread can be revived by using

  • start() method
  • Suspend() method
  • resume() method
  • yield() method

3. Thread class is available in

  • java.io package
  • java.lang package
  • java.awt package
  • java.util package

4. Which of the following statements about arrays is syntactically wrong

  • arrayName[] p = new arrayName[5];
  • arrayName p[5];
  • arrayName[] p [];
  • arrayName p[][] = new arrayName[2][];

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

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

  • neha 9 years ago

    for interpretation of java program java command will be use.

  • umesh 11 years ago

    I think answer will be javac

    manisha 8 years ago replied

    yes the answer should be javac