Java MCQ Questions for Placement

Q.  Which method is used to send the same request and response objects to another servlet in RequestDispacher ?

a. forward()
b. sendRedirect()
c. Both A & B
d. None of the above


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Which is used to call the stored procedures and functions?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which interfaces provide methods for batch processing in JDBC?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Sessions is a part of the SessionTracking and it is for maintaining the client state at server
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which cookie it is valid for single session only and it is removed each time when the user closes the browser?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which configuration files are used in Struts?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Interceptor can change the flow of the application by returning the string.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which component does the Entity bean represent the persistent data stored in the database?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  A session bean represents a multiple clients inside the Application Server.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What are the exceptions which have to be handled in a RMI client program?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  RMI uses a layered architecture; each of the layers could be enhanced or replaced without affecting the rest of the system.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which of the following is an advantage of the statement – Separation of business logic from JSP ?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which kind of driver converts JDBC calls into calls on the client API for Oracle, Sybase, Informix, IBM DB2, or other DBMS?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What invokes immediately after the start() method and also any time the applet needs to repaint itself in the browser?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Applets cannot make network connection exception to the server host from which it originated.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method can set or change the text in a Label?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which defines a method called nextElement that is used to get the next element in a data structure that contains multiple elements?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which statement provides an easy way to dispatch execution to different parts of your code based on the value of an expression?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which field of StreamTokenizer if the token is a word, this filed contains the word that can be used in programming?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which Thread pool is used where container creates a thread pool to process the request?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is used to separate the hierarchy of the class while declaring an import statement?
Category: Placement Tests,   Published by: T-Code Scripts