Sail E0 Webinar

MCQs

Total Questions : 15 | Page 1 of 2 pages
Question 1. Which of these packages is used for remote method invocation?
  1.    java.applet
  2.    java.rmi
  3.    java.lang.rmi
  4.    java.lang.reflect
 Discuss Question
Answer: Option B. -> java.rmi




Question 2. A bean consists of general purpose interfaces are:
  1.    Properties
  2.    Events
  3.    Methods
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these




Question 3. An RMI Server is responsible for _______
  1.    Creating an instance of the remote object
  2.    Exporting the remote object
  3.    Binding the instance of the remote object to the RMI registry
  4.    All mentioned above
 Discuss Question
Answer: Option D. -> All mentioned above




Question 4. Which of these packages is used for all the text related modifications?
  1.    java.text
  2.    java.awt
  3.    java.lang.text
  4.    java.text.mofify
 Discuss Question
Answer: Option A. -> java.text




Question 5. CORBA is stands for:
  1.    Common oriented request broker architecture
  2.    Common object request break architecture
  3.    Common object request broker architecture
  4.    Common object request broker access
 Discuss Question
Answer: Option C. -> Common object request broker architecture




Question 6. Which of these Exceptions is thrown by a remote method?
  1.    RemoteException
  2.    InputOutputException
  3.    RemoteAccessException
  4.    RemoteInputOutputException
 Discuss Question
Answer: Option A. -> RemoteException




Question 7. What is the built on top of the socket programming?
  1.    EJB
  2.    RMI
  3.    Both A & B
  4.    None of the above
 Discuss Question
Answer: Option B. -> RMI




Question 8. Which is an object, acts as a gateway for the client side, all the outgoing requests are routed through it and it resides at the client side and represents the remote object?
  1.    Stub
  2.    Skeleton
  3.    Both A & B
  4.    None of the above
 Discuss Question
Answer: Option A. -> Stub




Question 9. What are the exceptions which have to be handled in a RMI client program?
  1.    Remote Exception
  2.    Not Bound Exception
  3.    Mal Formed URL Exception
  4.    All mentioned above
 Discuss Question
Answer: Option D. -> All mentioned above




Question 10. The keywords reserved but used in the initial version of Java are
  1.    union
  2.    const
  3.    inner
  4.    goto
 Discuss Question
Answer: Option A. -> union




Latest Videos

Latest Test Papers