which is the better collection class if the requirement is
only displaying the data
Answer / rishabh
Choice of collection depends on the datastructure
requirements of the program. However we can make any
Collection as read only by using methods in Collections
class like unmodifiableList(), unmodifiableSet() etc.
Is This Answer Correct ? | 2 Yes | 2 No |
what is the use of Object Factories?
What is a task?s priority?
How to add new JTabbed pane?
What is DTD?
How to synchronize jsp page?
Difference Between java & javax
5 Answers Sun Microsystems, Wipro,
Can you give me a simple example of using the requiredif validator rule?
What is the applet sandbox?
What exceptions are thrown by RMI?
1) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession
can a static method be overridden
Define the remote interface?