Top 80+ Solved J2EE Technologies MCQ Questions Answer

From 76 to 90 of 100

Q. Which tag is used to set a value of a JavaBean?

a. <c:set>

b. <c:param>

c. <c:choose>

d. <c:forward>

  • a. <c:set>

Q. Java code is embedded under which tag in JSP?

a. Declaration

b. Scriptlet

c. Expression

d. Comment

  • b. Scriptlet

Q. Which of the following is not a directive in JSP?

a. page directive

b. include directive

c. taglib directive

d. command directive

  • d. command directive

Q. In RMI Architecture which layer Intercepts method calls made by the client/redirects these calls to a remote RMI service?

a. Stub & Skeleton Layer

b. Application Layer

c. Remote Reference Layer

d. Tr

  • a. Stub & Skeleton Layer

Q. Java supports RMI, RMI Stands for?

a. Random Method Invocation

b. Remote Memory Interface

c. Remote Method Invocation

d. Random Method Invocation

  • c. Remote Method Invocation

Q. An RMI Server is responsible for _______

a. Creating an instance of the remote object

b. Exporting the remote object

c. Binding the instance of the remote object to the RMI registry

d. All mentioned above

  • b. Exporting the remote object

Q. Abbreviate the term DGC?

a. Digital Garbage Collection

b. Distributed Garbage Collection

c. Distributed Garbage Connection

d. None of the above

  • b. Distributed Garbage Collection

Q. In RMI, the objects are passed by _____.

a. Value

b. Reference

c. Value and Reference

d. None of the above

  • a. Value

Q. What are the exceptions which have to be handled in a RMI client program?

a. RemoteException

b. NotBoundException

c. MalFormedURLException

d. All mentioned above

  • d. All mentioned above

Q. Which package is used for Remote Method Invocation (RMI)?

a. javlang.rmi

b. java.lang.reflect

c. java.applet

d. java.rmi

  • d. java.rmi
Subscribe Now

Get All Updates & News