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. Interfaces helps in which type of inheritance

  • Multiple inheritance
  • Multilevel inheritance
  • Hierarchical inheritance
  • None of above

2. Inheritance means

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

3. Java intermediate code is known as

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

4. Which keyword is used while using interface

  • extend
  • implements
  • throw
  • throws

5. Why we use array as a parameter of main method

  • it is syntax
  • Can store multiple values
  • Both of above
  • None of above
Read more from - Java Objective Questions Answers -Chapter 1