Java MCQ Questions for Placement


Q.  In JSP how many ways are there to perform exception handling?

a. 3
b. 2
c. 4
d. 5


ANSWER: See Answer
 
No explanation is available for this question!
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: teswesm
MCQs:  A valueStack is a simply stack that contains application specific object is _____ .
Category: Placement Tests,   Published by: teswesm
MCQs:  Which middleware services are provided by EJB?
Category: Placement Tests,   Published by: teswesm
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: teswesm
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: teswesm
MCQs:  Which model does a Java applet or application talks directly to the data source?
Category: Placement Tests,   Published by: teswesm
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: teswesm
MCQs:  Which package provides many event classes and Listener interfaces for event handling?
Category: Placement Tests,   Published by: teswesm
MCQs:  Wrapper classes are not used to convert any data type into an object.
Category: Placement Tests,   Published by: teswesm
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: teswesm
MCQs:  Which classes are used for connection-less socket programming?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which is not a W3C-recommended specification?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which character in the XML Element will generate an error because the parser interprets it as the start of a new element?
Category: Placement Tests,   Published by: teswesm
MCQs:  If a subclass has the same method as declared in the parent class it is known as ______.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which type of inheritance one super-class have more than one sub-class?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which stream does Java application uses to read data from a source, it may be a file, an array, peripheral device or socket?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method is used in thread class to starts the execution of the thread?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which packages are also termed as Java API Packages?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which symbol is used to contain the values of automatically initialized arrays. Also used to define a block of code, for classes, methods, and local scopes?
Category: Placement Tests,   Published by: teswesm
MCQs:  PatternSyntaxException Class Methods is an unchecked exception that indicates a syntax error in a regular expression pattern.
Category: Placement Tests,   Published by: teswesm