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

A. True

B. False

You can do it
  1. Consider the following class definitions: class maths { student student1; } class student { String name;…
  2. A constructor must always invoke its supper class constructor in its first statement.
  3. Which of the following keywords are used to control access to a class member?
  4. Declarations can appear anywhere in the body of a Java method.
  5. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  6. Which of the following command lines options generates documentation for all classes and methods?
  7. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  8. Session bean
  9. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  10. Which are the valid ways to create DataInputStream streams?
  11. In a single Servlet class we can use____________
  12. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  13. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  14. In RMI before running the client program we must start RMI Registry.
  15. A class may be both abstract and final.
  16. When we invoke repaint () for a Component, the AWT invokes the method:
  17. JdbcOdbcDriver is an object of Object class
  18. Servlet can have ___________
  19. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  20. The name of a Java program file must match the name of the class with the extension Java.
  21. What does the following line of code do?TextField text=new TextField(10);
  22. The methods wait() and noify() are defined in
  23. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  24. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  25. Which of the following are the wrapper classes?
  26. A JSP file can be stored_________________
  27. Which of the following are keywords?
  28. Given the codeString s = new String("abc");Which of the following calls are valid?
  29. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  30. When we implement an interface method, it should be declared as public.