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. Which metrhods are utilized to control the access to an object in multi threaded programming

  • Asynchronized methods
  • Synchronized methods
  • Serialized methods
  • None of above

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

  • it is syntax
  • Can store multiple values
  • Both of above
  • None of above

3. How many transaction isolation levels are defined in java.sql.Connection interface

  • 4
  • 3
  • 5
  • 2

4. Thread class is available in

  • java.io package
  • java.lang package
  • java.awt package
  • java.util package

5. JIT meaning

  • java in time
  • just in time
  • join in time
  • none of above
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment