Home / CSE MCQs / Java RMI ::

CSE MCQs :: Java RMI

  1. What is Remote method invocation (RMI)?
  2. A.
    RMI allows us to invoke a method of java object that executes on another machine
    B.
    RMI allows us to invoke a method of java object that executes on another Thread in multithreaded programming
    C.
    RMI allows us to invoke a method of java object that executes parallely in same machine
    D.
    None of the mentioned

  3. Which of the function is used to convert string to Number in java program?
  4. A.
    to Number()
    B.
    conString()
    C.
    valueOf()
    D.
    toString()

  5. How many types of protocol implementations does RMI have?
  6. A.
    2
    B.
    4
    C.
    3
    D.
    None

  7. RMI Architecture consists of how many layers?
  8. A.
    5
    B.
    3
    C.
    4
    D.
    2

  9. Which is a one-way communication only between the client and the server, which is not only a reliable but also there is no confirmation regarding reaching the message to the destination?
  10. A.
    TCP/IP
    B.
    UDP
    C.
    Both A & B
    D.
    None of the above