Java MCQ Questions for Placement


Q.  Using mail API we cannot send mail from a servlet.

a. True
b. False


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  How many Result sets available with the JDBC 2.0 core API?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method is used for retrieving streams of both ASCII and Unicode characters is new in the JDBC 2.0 core API?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which JDBC type represents a 'single precision' floating point number that supports seven digits of mantissa?
Category: Placement Tests,   Published by: teswesm
MCQs:  The JDBC API has always supported persistent storage of objects defined in the Java programming language through the methods getObject and setObject.
Category: Placement Tests,   Published by: teswesm
MCQs:  In order to transfer data between a database and an application written in the Java programming language, the JDBC API provides which of these methods?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which are the common security restrictions in applets?
Category: Placement Tests,   Published by: teswesm
MCQs:  An applet can play an audio file represented by the AudioClip interface in the java, applet package Causes the audio clip to replay continually in which method?
Category: Placement Tests,   Published by: teswesm
MCQs:  In Servlet Terminology what provides runtime environment for JavaEE (j2ee) applications. It performs many operations that are given below: 1. Life Cycle Management 2. Multithreaded support 3. Object Pooling 4. Security etc.
Category: Placement Tests,   Published by: teswesm
MCQs:  These two ways are used to create a Frame (1) By creating the object of Frame class (association) (2) By extending Frame class (inheritance)
Category: Placement Tests,   Published by: teswesm
MCQs:  Which is the container that doesn't contain title bar and MenuBars but it can have other components like button, textfield etc?
Category: Placement Tests,   Published by: teswesm
MCQs:  Implement the Listener interface and overrides its methods is required to perform in event handling.
Category: Placement Tests,   Published by: teswesm
MCQs:  Where are the following four methods commonly used? 1) public void add(Component c) 2) public void setSize(int width,int height) 3) public void setLayout(LayoutManager m) 4) public void setVisible(boolean)
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method when implemented must return true while there are still more elements to extract, and false when all the elements have been enumerated?
Category: Placement Tests,   Published by: teswesm
MCQs:  From the following statements which is a disadvantage of an java array?
Category: Placement Tests,   Published by: teswesm
MCQs:  The PipedInputStream and PipedOutputStream classes can be used to read and write data simultaneously.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method returns the interrupted flag after that it sets the flag to false if it is true?
Category: Placement Tests,   Published by: teswesm
MCQs:  Unchecked exceptions are checked at compile-time rather they are checked at runtime.
Category: Placement Tests,   Published by: teswesm
MCQs:  Struts supports which of these model components?
Category: Placement Tests,   Published by: teswesm
MCQs:  Abbreviate the term POJO?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which of the following is not used to seek a file pointer?
Category: Computer Science MCQs,   Published by: teswesm