download Mastguru Android App

Question Detail

Why we use array as a parameter of main method

  • it is syntax
  • Can store multiple values
  • Both of above
  • None of above
Similar Questions :

1. Which driver is efficient and always preferable for using JDBC applications

  • Type-4 driver
  • Type-3 driver
  • Type-2 driver
  • Type-1 driver

2. Execution of the program is always begins with

  • Main method
  • class contain main method
  • parent class
  • default package

3. Which command is used for interpretation of java program

  • Java
  • javac
  • javap
  • none of above

4. Which collection class associates values witch keys, and orders the keys according to their natural order

  • java.util.HashSet
  • java.util.LinkedList
  • java.util.TreeMap
  • java.util.SortedSet

5. In java, gc() method is available in which package

  • java.lang package
  • java.util package
  • java.awt package
  • java.io package
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment