Java MCQ Questions for Placement

Q.  Which is used for reading streams of raw bytes such as image data and for reading streams of characters, consider using FileReader?

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


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Java supports RMI, RMI Stands for?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which Error Handling in Java handles runtime errors with exceptions, If an exception is not caught in your JSP or Servlet, Resin will use a special error page to send results back to the browser, Resin uses a default error page unless you explicitly provide an error page yourself?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which object of HttpSession can be used to view and manipulate information about a session?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Connection Pooling Class manages no of user requests for connections to improve the performance.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which case of a session bean obtains the UserTransaction object via the EJBContext using the getUserTransaction() method in EJB transaction management?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which services are provided to EJB components by the EJB container?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is an object, acts as a gateway for the client side, all the outgoing requests are routed through it and it resides at the client side and represents the remote object?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  In RMI Architecture which layer Intercepts method calls made by the client/redirects these calls to a remote RMI service?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which attribute specifies a JSP page that should process any exceptions thrown but not caught in the current page?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What technique is used for the authentication mechanism in the servlet specification?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Abbreviate the term UDA?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  How many Result sets available with the JDBC 2.0 core API?
Category: Placement Tests,   Published by: T-Code Scripts
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: T-Code Scripts
MCQs:  Which JDBC type represents a "single precision" floating point number that supports seven digits of mantissa?
Category: Placement Tests,   Published by: T-Code Scripts
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: T-Code Scripts
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: T-Code Scripts
MCQs:  Which are the common security restrictions in applets?
Category: Placement Tests,   Published by: T-Code Scripts
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: T-Code Scripts
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: T-Code Scripts
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: T-Code Scripts