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. Methods that have same name, but different Parameter list and different definition known as

  • Overriding
  • Constructor
  • Overloading
  • none of these

2. Java intermediate code is known as

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

3. Which keyword represents object of the present class

  • interface
  • package
  • this
  • static

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

  • java.util.Time
  • java.sql.Time
  • java.util.Date
  • None of above

5. 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
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment