Java MCQ Questions for Placement

Q.  Which method of 'Class' class is used to register the driver class and the method is used to dynamically load the driver class?

a. forName()
b. getConnection()
c. createStatement()
d. executeQuery()


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Which package includes all the standard classes of java?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  How many types of constructor are defined in the StringTokenizer class?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which class is used when a program does not want to handle an exception?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What type of constructor is used to provide different values to the distinct objects?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  JDBC stands for?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which HTTP Request method is non-idempotent?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What does the Session object hold?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which servlet does the struts framework use?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What represents a persistent global data from the database?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  RMI Architecture consists of how many layers?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is the Microsoft solution for providing dynamic Web content?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which JDBC product components does the Java software provide?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What is used to run an Applet?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  How many types of controls does AWT support?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Where does the primitive data type values be stored?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  URL is an acronym for?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which language is case sensitive?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Abbreviate the term DOM?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  An XML parser converts an XML document into an XML DOM object, which can then be manipulated with JavaScript.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which allows hyperlinks to point to specific parts (fragments) of XML documents?
Category: Placement Tests,   Published by: T-Code Scripts