Java MCQ Questions for Placement


Q.  JavaServer Pages often serve the same purpose as programs implemented using the Common Gateway Interface (CGI)

a. True
b. False


ANSWER: See Answer
 
No explanation is available for this question!
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: teswesm
MCQs:  Which of the following is an advantage of the statement – Separation of business logic from JSP ?
Category: Placement Tests,   Published by: teswesm
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: teswesm
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: teswesm
MCQs:  Applets cannot make network connection exception to the server host from which it originated.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method can set or change the text in a Label?
Category: Placement Tests,   Published by: teswesm
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: teswesm
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: teswesm
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: teswesm
MCQs:  Which Thread pool is used where container creates a thread pool to process the request?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which is used to separate the hierarchy of the class while declaring an import statement?
Category: Placement Tests,   Published by: teswesm
MCQs:  Classes in the same package cannot access each other's package-access members.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method of string class in java is used to convert the boolean into String?
Category: Placement Tests,   Published by: teswesm
MCQs:  By overriding the toString() method of the Object class, we can return values of the object, so we don't need to write much code.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which Exception occurs when a class is not found while dynamically loading a class using the class loaders?
Category: Placement Tests,   Published by: teswesm
MCQs:  JDBC RowSet is the wrapper of ResultSet,It holds tabular data like ResultSet but it is easy and flexible to use.
Category: Placement Tests,   Published by: teswesm
MCQs:  What type of servlets use these methods doGet(), doPost(),doHead, doDelete(), doTrace()?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which type of ServletEngine is a server that includes built-in support for servlets?
Category: Placement Tests,   Published by: teswesm
MCQs:  Struts combines which of these in to a unified Framework?
Category: Placement Tests,   Published by: teswesm
MCQs:  We need to write the controller code self, If we change the controller code, we need to recompile the class and redeploy the application this is a disadvantage of which MVC Architecture?
Category: Placement Tests,   Published by: teswesm