Home

An EJB is a server-side component that encapsulates the business logic of an application

A. True

B. False

You can do it
  1. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  2. The import statement is always the first no comment statement in a Java program files.
  3. EJBs can be of the following type(s)None of the above
  4. A final class may not have any abstract method.
  5. Which of the following statements are true?
  6. In order to connect to a database through java program we must create _______-
  7. Which of the following are the wrapper classes?
  8. We can add more than one class(es) at the time of compilation Java Beans.
  9. Objects are passed to a method by use of call-by-reference.
  10. When we implement the Runnable interface, we must define the method
  11. Which javadoc tag is used to denote a comment for methods parameters?
  12. Members of a class specified as private are accessible only to the methods of the class.
  13. What is java -g used for?
  14. Java always provides a default constructor to a class.
  15. Give file is a file object, which of the following are legal statements to create a new file.
  16. The programmer must explicitly create the system .in and system .out objects.
  17. Which of the following command lines options generates documentation for all classes and methods?
  18. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  19. The methods wait() and noify() are defined in
  20. executeUpdate automatically updates data because___________
  21. Given the codeString s = new String("abc");Which of the following calls are valid?
  22. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  23. Which of the following will produce a value of 10 if x = 9.7?
  24. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  25. A Java monitor must either extend thread class or implement Runnable interface.
  26. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  27. Which of the following methods can be used to draw the outline of a square?
  28. We can over load methods with differences only in their return type.
  29. Which of the following represent legal flow control statements?
  30. Servlet can have ___________