Java MCQ Questions for Placement


Q.  The CharArrayWriter class is not used to write data to multiple files

a. True
b. False


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  The URLConnection class can be used to read and write data to the specified resource referred by the URL
Category: Placement Tests,   Published by: teswesm
MCQs:  The client in socket programming must know which informations?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method cannot be overridden?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which class cannot be instantiated?
Category: Placement Tests,   Published by: teswesm
MCQs:  What is used to convert the byte-oriented stream into character-oriented stream?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method is used in thread class to test if the current thread has been interrupted?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which type of java package that contains wide range of classes and methods are used for performing different functionalities?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which concept is used to make Java more memory efficient (because no new objects are created if it exists already in string constant pool)?
Category: Placement Tests,   Published by: teswesm
MCQs:  Find whether these two rules are correct or not defined by the constructor 1. Constructor name must be same as its class name. 2. Constructor must have no explicit return type.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which are also known as inner classes?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which driver converts JDBC calls directly into the vendor-specific database protocol?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which one of the following scopes does the attribute in servlet is an object that can be set, get or removed?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method is easy for a java programmer to add a criteria?
Category: Placement Tests,   Published by: teswesm
MCQs:  POJO means you are not forced to implement any interface or extend any class.
Category: Placement Tests,   Published by: teswesm
MCQs:  How many types of session beans are available in EJB?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method of the Naming class (found in java.rmi) is used to update the RMI registry on the server machine?
Category: Placement Tests,   Published by: teswesm
MCQs:  In JSP page directive which attribute defines the MIME(Multipurpose Internet Mail Extension) type of the HTTP response?
Category: Placement Tests,   Published by: teswesm
MCQs:  A leading database connectivity vendor, worked together to produce the ____.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method is first Called for any applet when it starts its execution?
Category: Placement Tests,   Published by: teswesm
MCQs:  When an applet begins, in which sequence will the AWT call the methods?
Category: Placement Tests,   Published by: teswesm