Home

In RMI we invoke client method from remote server

A. True

B. False

You can do it
  1. JSP files creates ________________
  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. In a single Servlet class we can use____________
  5. A Java monitor must either extend thread class or implement Runnable interface.
  6. We can add more than one class(es) at the time of compilation Java Beans.
  7. JdbcOdbcDriver is an object of Object class
  8. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  9. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  10. All the bitwise operators have the same level of precedence in Java.
  11. It is an error to have a method with the same signature in both the super class and its subclass.
  12. Frames and applets cannot be used together in the same program.
  13. A JSP file can be stored_________________
  14. When present, package must be the first no comment statement in the file.
  15. The use of protected keyword to a member in a class will restrict its visibility as follows:
  16. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  17. Servlet has ___________
  18. Consider the following class definitions: class maths { student student1; } class student { String name;…
  19. What does the following line of code do?TextField text=new TextField(10);
  20. The break statement is required in the default case of a switch selection structure.
  21. Which of the following methods can be used to draw the outline of a square?
  22. The programmer must explicitly create the system .in and system .out objects.
  23. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  24. Submit button always fires doPost(...)
  25. An EJB is a server-side component that encapsulates the business logic of an application
  26. Connection, Statement are interfaces and ResultSet is a class.
  27. One the features of is that an array can store many different types of values.
  28. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  29. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  30. Which key word can protect a class in package from accessibility by the classes outside the package?