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. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  2. The check box group class is a subclass of the component class.
  3. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  4. Which of the following command lines options generates documentation for all classes and methods?
  5. All methods in an abstract class must be declared abstract.
  6. Submit button always fires doPost(...)
  7. It is perfectly legal to refer to any instance variable inside of a static method.
  8. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  9. A method declared as static can not access non-static class members.
  10. EJBs can be of the following type(s)None of the above
  11. Two methods cannot have the same name in Java.
  12. JdbcOdbcDriver is an object of Object class
  13. In a single Servlet class we can use____________
  14. When we implement an interface method, it should be declared as public.
  15. Which of the following are keywords?
  16. Which of the following statements are true?
  17. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  18. We would like to make a member of a class visible in all subclasses regardless of what package they…
  19. The methods wait() and noify() are defined in
  20. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  21. Servlet has ___________
  22. When we implement the Runnable interface, we must define the method
  23. Which of the following keywords are used to control access to a class member?
  24. The length of a string object 's1' can be obtained using the expression s1.length.
  25. The import statement is always the first no comment statement in a Java program files.
  26. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  27. One the features of is that an array can store many different types of values.
  28. What is java -g used for?
  29. A variable declared inside the for loop control can not be referenced out side the loop.
  30. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…