Java MCQ Questions for Placement

Q.  Which field of StreamTokenizer if the token is a word, this filed contains the word that can be used in programming?

a. String sval
b. double nval
c. int ttype
d. static final int TT_WORD


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Which class is used for this Processing Method processActionEvent( )?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is used to store data and partial results, as well as to perform dynamic linking, return values for methods, and dispatch exceptions?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which methods are provided by the PrintStream class?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Daemon thread provides services to user threads for background supporting tasks,It has no role in life than to serve user threads.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  A package can be renamed without renaming the directory in which the classes are stored.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What is known as the classes that extend Throwable class except RuntimeException and Error?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is irrecoverable?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Java application uses an output stream to read data from a source, it may be a file, an array, peripheral device or socket.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Mutual exclusive and inter-thread communication are which type of Synchorization?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method is used to establish the connection with the specified url in a Driver Manager class?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  The ACID properties does not describes the transaction management well.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which methods are used to bind the objects on HttpSession instance and get the objects?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which of these ways used to communicate from an applet to servlet?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is used to make asynchronous request i.e. it doesn't block the user and it sends only required field data to the server side not all, So it makes the performance fast?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which session bean maintain their state between client invocations but are not required to maintain their state across server crashes or shutdowns?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  JMS is mainly used to send and receive message from one application to another.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which can generate HTML dynamically on the client but can hardly interact with the web server to perform complex tasks like database access and image processing etc. in JSP?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  The ASP and JSP technologies are quite similar in the way they support the creation of Dynamic pages, using HTML templates, scripting code and components for business logic.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which methods returns a stream that simply provides the raw bytes from the database without any conversion?
Category: Placement Tests,   Published by: T-Code Scripts
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