Home

Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously

A. True

B. False

You can do it
  1. Which of the following methods belong to the String class?
  2. What is java -g used for?
  3. The check box group class is a subclass of the component class.
  4. When present, package must be the first no comment statement in the file.
  5. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  6. In RMI before running the client program we must start RMI Registry.
  7. When the string objects are compared with ==, the result is true If the strings contain the same values.
  8. The name of a Java program file must match the name of the class with the extension Java.
  9. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  10. Objects are passed to a method by use of call-by-reference.
  11. In order to connect to a database through java program we must create _______-
  12. Connection, Statement are interfaces and ResultSet is a class.
  13. Servlet has ___________
  14. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  15. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  16. Servlet can have ___________
  17. Java always provides a default constructor to a class.
  18. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  19. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  20. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  21. Given the codeString s = new String("abc");Which of the following calls are valid?
  22. Which of the following statements are true?
  23. A JSP file can be stored_________________
  24. An EJB is a server-side component that encapsulates the business logic of an application
  25. It is an error to have a method with the same signature in both the super class and its subclass.
  26. Declarations can appear anywhere in the body of a Java method.
  27. Which of the following will produce a value of 22 if x=22.9:
  28. A final class may not have any abstract method.
  29. Session bean
  30. Any class may be inherited by another class in the same package.