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. Inheritance means

  • Sub class extends super class
  • Sub class extends Base class
  • Sub class create object of super class
  • All of the above

2. If method have same name as class name and method don’t have any return type then it is known as

  • Destructors
  • Object
  • Variable
  • Constructor

3. Which is the predefined package

  • Lang package
  • io package
  • util package
  • All of above

4. Converting a primitive type data into its corresponding wrapper class object instance is called

  • boxing
  • wrapping
  • instantiation
  • autoboxing

5. The class java.sql.Timestamp is associated with

  • java.util.Time
  • java.sql.Time
  • java.util.Date
  • None of above
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment