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

2. Object which can store group of other objects is called

  • Collection object
  • Java object
  • Package
  • Wrapper

3. ____ allows java code to run in the JVM to call and be called by native applications

  • JFI
  • JNI
  • NJI
  • FJI

4. There is no default transaction attribute for an EJB

  • False
  • True

5. String is the predefined

  • Method
  • Class
  • Variable
  • Object
Read more from - Java Objective Questions Answers -Chapter 1