Java MCQ Questions for Placement

Q.  Which block contains a block of program statements where an exception might occur?

a. Catch
b. try
c. throw
d. final


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  From where the SequenceInputStream class is used to read data?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method in thread class causes the currently executing thread object to temporarily pause and allow other threads to execute?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which package is used for GUI?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method causes the current thread to wait for the specified milliseconds, until the another thread notifies? (invokes notify() or notifyAll() method)?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What are the main subclasses of the Exception class?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  If there is no constructor in a class, compiler automatically creates a default constructor.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method is used to invoke the garbage collector to perform the cleanup processing?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  In the following JDBC drivers which is known as fully java driver?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method in session tracking is used in a bit of information that is sent by a web server to a browser and which can later be read back from that browser?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  In case of Table per Concrete class, there will be three tables in the database having no relations to each other. Which are the ways to map the table?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  A valueStack is a simply stack that contains application specific object is _____ .
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which middleware services are provided by EJB?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is a one-way communication only between the client and the server, which is not only a reliable but also there is no confirmation regarding reaching the message to the destination?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which JSP Action tags is used to include the content of another resource, it may be jsp, html or servlet?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which model does a Java applet or application talks directly to the data source?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method is used to suspend threads that don’t need to run when the applet is not visible?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which package provides many event classes and Listener interfaces for event handling?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Wrapper classes are not used to convert any data type into an object.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method of URL class represents a URL and it has complete set of methods to manipulate URL in Java?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which classes are used for connection-less socket programming?
Category: Placement Tests,   Published by: T-Code Scripts