Java MCQ Questions for Placement


Q.  Which default exception handler that performs the following tasks: 1: Prints out exception description. 2: Prints the stack trace (Hierarchy of methods where the exception occurred). 3: Causes the program to terminate.

a. JVM
b. JDK
c. JRE
d. None of the above


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Which package includes StringTokenizer that tokenizes a string into independent words?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method waits for a thread to die?
Category: Placement Tests,   Published by: teswesm
MCQs:  What will happen if we call the run() method directly instead of calling the start() method?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which package includes all the standard classes of java?
Category: Placement Tests,   Published by: teswesm
MCQs:  How many types of constructor are defined in the StringTokenizer class?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which class is used when a program does not want to handle an exception?
Category: Placement Tests,   Published by: teswesm
MCQs:  What type of constructor is used to provide different values to the distinct objects?
Category: Placement Tests,   Published by: teswesm
MCQs:  JDBC stands for?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which HTTP Request method is non-idempotent?
Category: Placement Tests,   Published by: teswesm
MCQs:  What does the Session object hold?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which servlet does the struts framework use?
Category: Placement Tests,   Published by: teswesm
MCQs:  What represents a persistent global data from the database?
Category: Placement Tests,   Published by: teswesm
MCQs:  RMI Architecture consists of how many layers?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which is the Microsoft solution for providing dynamic Web content?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which JDBC product components does the Java software provide?
Category: Placement Tests,   Published by: teswesm
MCQs:  What is used to run an Applet?
Category: Placement Tests,   Published by: teswesm
MCQs:  How many types of controls does AWT support?
Category: Placement Tests,   Published by: teswesm
MCQs:  Where does the primitive data type values be stored?
Category: Placement Tests,   Published by: teswesm
MCQs:  URL is an acronym for?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which language is case sensitive?
Category: Placement Tests,   Published by: teswesm