Java MCQ Questions for Placement

Q.  If the superclass method does not declare an exception, subclass overridden method cannot declare the checked exception but it can declare unchecked exception.

a. True
b. False


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Which allows you to migrate your implementations over time without breaking the code that depends on the public interface of your classes?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is used for writing data to a file in file handling?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  In which state is the thread after invocation of start() method, but the thread Scheduler has not selected it to be the running thread?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which package is used for analyzing code during run time?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  The JDK forms an extended subset of a software development kit (SDK)
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which mechanism is provided to handle the runtime errors so that normal flow of the application can be maintained?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Constructor does not perform other tasks instead of initialization
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  In java, Method Overloading is possible by changing the return type of the method
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Garbage collection only occurs sporadically during the execution of your program
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which driver uses ODBC driver to connect to the database?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  In HTTP Request method Get request is secured because data is exposed in URL bar
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  How many techniques are used in Session Tracking?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which of these simplifies an Object Relational Mapping tool?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  The struts 2 framework is used to develop MVC-based web application
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:  In RMI which layer defines and supports the invocation semantics of the RMI connection and this layer maintains the session during the method call?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  A JSP page consists of which tags?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  The JDBC API is what allows access to a data source from a Java middle tier
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is invoked after the init() method or browser is maximized?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which class provides many methods for graphics programming?
Category: Placement Tests,   Published by: T-Code Scripts