Java MCQ Questions for Placement

Q.  Which Indicates a result set that cannot be updated programmatically in concurrency?

a. CONCUR_UPDATABLE
b. CONCUR_READ_ONLY
c. All of the above
d. None of the above


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  The intent is for JDBC drivers to implement nonscrollable result sets using the support provided by the underlying database systems.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Applet works at client side so less response time.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  From the following statements which is a drawback for Applet?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which object can be constructed to show any number of choices in the visible window?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  In Graphics class which method is used to draws a rectangle with the specified width and height?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  The Java Foundation Classes (JFC) is a set of GUI components which simplify the development of desktop applications.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method is used to set the graphics current color to the specified color in the graphics class?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Give the abbreviation of AWT?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  An exception is an event, which occurs during the execution of a program that disrupts the normal flow of the program's instructions.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Switch is more efficient than nested if or if - else in java.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is used for reading streams of raw bytes such as image data and for reading streams of characters, consider using FileReader?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which class is used to uncompress the file in the deflate compression format, It provides facility to the other uncompression filters?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method is used to change the name of a thread?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which mechanism is used when a thread is paused running in its critical section and another thread is allowed to enter (or lock) in the same critical section to be executed?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  How many reserved keywords are currently defined in the Java language?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which constructor creates an empty string buffer with the specified capacity as length.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method Drops all changes made since the previous commit/rollback?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  ResultSetMetaData interface is useful because it provides methods to get metadata from the ResultSet object.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  The performance of the application will be faster if you use PreparedStatement interface because query is compiled only once.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  The sendRedirect() method of HttpServletResponse interface can be used to redirect response to another resource, it may be servlet, jsp or html file.
Category: Placement Tests,   Published by: T-Code Scripts