Java MCQ Questions for Placement


Q.  Which is used for writing data to a file in file handling?

a. FileInputStream
b. FileOutputStream
c. Both A & B
d. None of the above


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Datagram is basically an information but there is no guarantee of its content, arrival or arrival time.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which allows you to define one interface and have multiple implementations?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which data type has this Minimum and Maximum value from 3.4e-038 to 3.4e+038?
Category: Placement Tests,   Published by: teswesm
MCQs:  The CharArrayWriter class is not used to write data to multiple files
Category: Placement Tests,   Published by: teswesm
MCQs:  Many threads at a time can run in a single process
Category: Placement Tests,   Published by: teswesm
MCQs:  Which containers are used to keep the class name space compartmentalized?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method compares the given object to 'this' object?
Category: Placement Tests,   Published by: teswesm
MCQs:  Exception Handling is a mechanism to handle runtime errors
Category: Placement Tests,   Published by: teswesm
MCQs:  Which is a non-static method having the same name as its class?
Category: Placement Tests,   Published by: teswesm
MCQs:  If a class has multiple methods by same name but different parameters, it is known as?
Category: Placement Tests,   Published by: teswesm
MCQs:  Local inner class can access non-final local variable
Category: Placement Tests,   Published by: teswesm
MCQs:  Which of the following JDBC drivers is known as a partially java driver?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which are the examples of Application Server?
Category: Placement Tests,   Published by: teswesm
MCQs:  Hibernate is an?
Category: Placement Tests,   Published by: teswesm
MCQs:  How many core components does the Model-View-Controller pattern in Struts2 have?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which type of instances retain no data or conversational state for a specific client?
Category: Placement Tests,   Published by: teswesm
MCQs:  What is the built on top of the socket programming?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which models do the JDBC API support for the database access?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which applet java.awt.component class provides the life cycle method?
Category: Placement Tests,   Published by: teswesm
MCQs:  Where can the event handling code be written?
Category: Placement Tests,   Published by: teswesm