Home

In RMI we invoke client method from remote server

A. True

B. False

You can do it
  1. Throwing an exception always causes program termination.
  2. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  3. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  4. EJBs can be of the following type(s)None of the above
  5. Which of the following command lines options generates documentation for all classes and methods?
  6. Objects are passed to a method by use of call-by-reference.
  7. In a single Servlet class we can use____________
  8. The length of a string object 's1' can be obtained using the expression s1.length.
  9. A static class method can be invoked by simply using the name of the method alone.
  10. The break statement is required in the default case of a switch selection structure.
  11. Frames and applets cannot be used together in the same program.
  12. Which of the following methods can be used to draw the outline of a square?
  13. Two methods cannot have the same name in Java.
  14. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  15. A catch can have comma-separated multiple arguments.
  16. Give file is a file object, which of the following are legal statements to create a new file.
  17. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  18. An EJB is a server-side component that encapsulates the business logic of an application
  19. DataInput is
  20. When present, package must be the first no comment statement in the file.
  21. All methods in an abstract class must be declared abstract.
  22. The keywords reserved but not used in the initial version of Java re:
  23. Which of the following represent legal flow control statements?
  24. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  25. Which of the following classes are available in the java.lang package?
  26. In RMI before running the client program we must start RMI Registry.
  27. A Java monitor must either extend thread class or implement Runnable interface.
  28. The setBackground() method is part of the class
  29. Consider the following class definitions: class maths { student student1; } class student { String name;…
  30. It is an error to catch the same type of exception in two different catch blocks associated with a particular…