Home

EJBs can be of the following type(s)
None of the above

A. Entity Bean

B. Session Bean

C. Message-driven bean

D. All of the above

You can do it
  1. A catch can have comma-separated multiple arguments.
  2. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  3. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  4. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  5. Consider the following class definitions: class maths { student student1; } class student { String name;…
  6. We can over load methods with differences only in their return type.
  7. Which of the following are keywords?
  8. DataInput is
  9. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  10. Which of the following statements are true?
  11. In order to connect to a database through java program we must create _______-
  12. In RMI before running the client program we must start RMI Registry.
  13. JdbcOdbcDriver is an object of Object class
  14. Java always provides a default constructor to a class.
  15. Which of the following classes are available in the java.lang package?
  16. The length of a string object 's1' can be obtained using the expression s1.length.
  17. A Java monitor must either extend thread class or implement Runnable interface.
  18. Java is fully object oriented programme.
  19. With javadoc, which of the following denotes a javadoc comment?
  20. Any method in a supper class can be over ridden in its subclass.
  21. Throwing an exception always causes program termination.
  22. The modulus operator (%) can be used only with Integer operands.
  23. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  24. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  25. Connection, Statement are interfaces and ResultSet is a class.
  26. Which javadoc tag is used to denote a comment for methods parameters?
  27. Which key word can protect a class in package from accessibility by the classes outside the package?
  28. Which of the following represent legal flow control statements?
  29. To delete a file, we can use an instance of class file.
  30. The default case is always required in the switch selection structure.