Home

Session bean

A. Represents a single client inside the application server

B. Can not be shared

C. Is not persistent

D. Satisfies all of the above conditions

You can do it
  1. What does the following line of code do?TextField text=new TextField(10);
  2. Which of the following methods can be used to change the size of a size() *resize()
  3. Servlet can have ___________
  4. An individual array element that is passed to a method and modified in that method will contain the…
  5. Objects are passed to a method by use of call-by-reference.
  6. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  7. EJBs can be of the following type(s)None of the above
  8. Which javadoc tag is used to denote a comment for methods parameters?
  9. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  10. When we invoke repaint () for a Component, the AWT invokes the method:
  11. executeUpdate(------------) returns ___________
  12. Java is fully object oriented programme.
  13. When present, package must be the first no comment statement in the file.
  14. A panel can not be added to another panel.
  15. The setBackground() method is part of the class
  16. Consider the following class definitions: class maths { student student1; } class student { String name;…
  17. The default case is always required in the switch selection structure.
  18. The methods wait() and noify() are defined in
  19. Declarations can appear anywhere in the body of a Java method.
  20. The modulus operator (%) can be used only with Integer operands.
  21. A Java monitor must either extend thread class or implement Runnable interface.
  22. An EJB is a server-side component that encapsulates the business logic of an application
  23. It is perfectly legal to refer to any instance variable inside of a static method.
  24. DataInput is
  25. A static class method can be invoked by simply using the name of the method alone.
  26. A constructor must always invoke its supper class constructor in its first statement.
  27. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  28. The concept of multiple inheritance is implemented in Java by
  29. A variable declared inside the for loop control can not be referenced out side the loop.
  30. Which of the following will produce a value of 10 if x = 9.7?