Java MCQ Questions for Placement


Q.  Which one of the following scopes does the attribute in servlet is an object that can be set, get or removed?

a. session scope
b. request scope
c. application scope
d. All mentioned above


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Static fields belong to the class, not instances of the class
Category: Placement Tests,   Published by: teswesm
MCQs:  Which enables some interaction with the garbage collector?
Category: Placement Tests,   Published by: teswesm
MCQs:  What is the reason that a java program cannot directly communicate with an ODBC driver?
Category: Placement Tests,   Published by: teswesm
MCQs:  In HTTP Request what asks for the loopback of the request message, for testing or for troubleshooting?
Category: Placement Tests,   Published by: teswesm
MCQs:  Abbreviate the term HQL?
Category: Placement Tests,   Published by: teswesm
MCQs:  In which configuration file is there a link between the View and Model components in the Web Client but you would not have to touch these settings for 99.99% of your projects?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which server-side component is required to be deployed on the server?
Category: Placement Tests,   Published by: teswesm
MCQs:  RMI uses which protocol on top of TCP/IP (an analogy is HTTP over TCP/IP)?
Category: Placement Tests,   Published by: teswesm
MCQs:  In JSP how many ways are there to perform exception handling?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which JDBC drivers will run your program?
Category: Placement Tests,   Published by: teswesm
MCQs:  All Applets must import java.applet and java.awt.
Category: Placement Tests,   Published by: teswesm
MCQs:  Swing is not a part of JFC (Java Foundation Classes) that is used to create GUI application
Category: Placement Tests,   Published by: teswesm
MCQs:  What method Returns an enumeration of the keys which includes those keys found in the default property list?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which package provides core functionality?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which class is used to create servers that listen for either local client or remote client programs?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which is a software- and hardware-independent tool for carrying information?
Category: Placement Tests,   Published by: teswesm
MCQs:  XML is the most common tool for data transmissions between all sorts of applications
Category: Placement Tests,   Published by: teswesm
MCQs:  Which internet language is used for describing available web services in XML?
Category: Placement Tests,   Published by: teswesm
MCQs:  A final class is not to be inherited.
Category: Placement Tests,   Published by: teswesm
MCQs:  What is meant by JIT?
Category: Placement Tests,   Published by: teswesm