Java MCQ Questions for Placement

Q.  Which method is used for retrieving streams of both ASCII and Unicode characters is new in the JDBC 2.0 core API?

a. getCharacterStream
b. getBinaryStream
c. getAsciiStream
d. getUnicodeStream


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Which of the followings is/are pointer-to-member declarator?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Default value of static variable is_____ .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  ________ are used to format the data display in CPP.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Reusability of the code can be achieved in CPP through ______ .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  By default, members of the class are ____________ in nature.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following is CPP style type-casting?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  If a program uses Inline Function, then the function is expanded inline at ___________.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  In CPP, the size of the character array should be one larger than the number of characters in the string.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following is/are valid ways to allocate memory for an integer by dynamic memory allocation in CPP?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following is the perfect set of operators that can’t be overloaded in CPP ?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Static variable in a class is initialized when _____ .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  To perform File I/O operations, we must use _____________ header file.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  An exception is thrown using _____________ keyword in CPP.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the followings is/are not a manipulator/s ? 1. flush 2. base 3. ends 4. oct 5. bin 6. skipws
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  If default constructor is not defined, then how the objects of the class will be created?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Is it mandatory to invoke/call a constructor for creating an object?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Members of the class can be declared with auto, extern or register storage classes.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  C structure differs from CPP class in regards that by default all the members of the structure are __________ in nature.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following best defines the syntax for template function ?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Generic pointers can be declared with__________ .
Category: Computer Science MCQs,   Published by: T-Code Scripts