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. Java beans have no types

  • True
  • False

2. Converting a primitive type data into its corresponding wrapper class object instance is called

  • boxing
  • wrapping
  • instantiation
  • autoboxing

3. Which class cannot be subclassed (or extended) in java?

  • abstract class
  • parent class
  • Final class
  • None of above

4. Which of the following command is used to compile the Java program

  • java
  • javac
  • javap
  • none of these

5. Which is the predefined package

  • Lang package
  • io package
  • util package
  • All of above
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment