Question Detail

Which of the following below are valid isolation levels in J2EE

  • TRANSACTION_READ_UNCOMMITTED
  • TRANSACTION_SERIALIZABLE
  • Only A
  • Both A and B
Similar Questions :

1. Which method executes only once

  • start() method
  • init() method
  • stop() method
  • destroy() method

2. JAR file contains the compressed version of

  • .java file
  • .class file
  • .jsp file
  • None of above

3. 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][];

4. Which method is used to perform DML statements in

JDBC

  • execute()
  • executeUpdate()
  • executeQuery()
  • None of above

5. Minimum threads in a program are

  • 1
  • 2
  • 5
  • Many
Read more from - Java Objective Questions Answers -Chapter 1