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. There is no default transaction attribute for an EJB

  • False
  • True

2. Java intermediate code is known as

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

3. Session beans are created by the client submitting the query to the database

  • True
  • False

4. In Runnable, many threads share the same object instance

  • True
  • False

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

  • True
  • False
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment