download Mastguru Android App

Question Detail

Which of the following statements about arrays is syntactically wrong

  • arrayName[] p = new arrayName[5];
  • arrayName p[5];
  • arrayName[] p [];
  • arrayName p[][] = new arrayName[2][];
Similar Questions :

1. Private Constructors can't be access from any derived classes neither from another class

  • True
  • False

2. Hot java is

  • System software
  • Web browser
  • IDE
  • Java environment

3. Java intermediate code is known as

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

4. Execution of the program is always begins with

  • Main method
  • class contain main method
  • parent class
  • default package

5. All collection classes are available in

  • java.io package
  • java.lang package
  • java.awt package
  • java.util package
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment