Java MCQ Questions for Placement


Q.  In the elements of Hibernate architecture is a factory of session and client of ConnectionProvider, It holds the second level cache (optional) of data is _____.

a. Session
b. SessionFactory
c. Transaction
d. ConnectionProvider


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  What is the disadvantage of Garbage Collection?
Category: Placement Tests,   Published by: teswesm
MCQs:  A class is declared inside a class but outside a method it is known as ________.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method of 'Class' class is used to register the driver class and the method is used to dynamically load the driver class?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which object is created by the web container at time of deploying the project?
Category: Placement Tests,   Published by: teswesm
MCQs:  We need to specify @Inheritance(strategy=InheritanceType.JOINED) in the parent class and @PrimaryKeyJoinColumn annotation in the subclasses.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which way will the architecture and flow of struts 2 application will go to understand the struts flow?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which component does the Entity bean represents the persistent data stored in the database?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method in naming class specifies a name to the remote object?
Category: Placement Tests,   Published by: teswesm
MCQs:  A bean encapsulates many objects into one object, so we can access this object from multiple places.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which class has traditionally been the backbone of the JDBC architecture?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which is the correct order of lifecycle in an applet?
Category: Placement Tests,   Published by: teswesm
MCQs:  The following a) It is lightweight. b) It supports pluggable look and feel. c) It follows MVC (Model View Controller) architecture are the advantages of _____ .
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method returns an enumeration of the values contained in the dictionary?
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:  URL stands for Uniform Resource Locator and represents a resource on the World Wide Web, such as a Web page or FTP directory.
Category: Placement Tests,   Published by: teswesm
MCQs:  XML is ?
Category: Placement Tests,   Published by: teswesm
(2) < to>Tove< /to> (3) < from>Jani< /from> (4) < /note>'>MCQs:  The following example shows which XML Syntax rule, (1) < note date=' 12/11/2007'> (2) < to>Tove< /to> (3) < from>Jani< /from> (4) < /note>
Category: Placement Tests,   Published by: teswesm
MCQs:  The getElementsByTagName() method is used to retrieve data from an XML document.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which keyword is used by classes to implement an interface?
Category: Placement Tests,   Published by: teswesm
MCQs:  JVM stands for?
Category: Placement Tests,   Published by: teswesm