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. Runnable is

  • Class
  • Method
  • Variable
  • Interface

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

  • Queue
  • Array
  • Stack
  • Maps

3. Suspend thread can be revived by using

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

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

  • Overriding
  • Constructor
  • Overloading
  • none of these

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

  • Type-4 driver
  • Type-3 driver
  • Type-2 driver
  • Type-1 driver
Read more from - Java Objective Questions Answers -Chapter 1