download Mastguru Android App

Question Detail

Which of the following command is used to compile the Java program

  • java
  • javac
  • javap
  • none of these
Similar Questions :

1. Java intermediate code is known as

  • First code
  • Mid code
  • Byte code
  • None of above

2. 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][];

3. Interfaces helps in which type of inheritance

  • Multiple inheritance
  • Multilevel inheritance
  • Hierarchical inheritance
  • None of above

4. Which among following classes is not part of Java's collection framework

  • Queue
  • Array
  • Stack
  • Maps

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