Java MCQ Questions for Placement


Q.  Which class is used to create servers that listen for either local client or remote client programs?

a. ServerSockets
b. httpServer
c. httpResponse
d. None of the above


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Which JDBC product components does the Java software provide?
Category: Placement Tests,   Published by: teswesm
MCQs:  What is used to run an Applet?
Category: Placement Tests,   Published by: teswesm
MCQs:  How many types of controls does AWT support?
Category: Placement Tests,   Published by: teswesm
MCQs:  Where does the primitive data type values be stored?
Category: Placement Tests,   Published by: teswesm
MCQs:  URL is an acronym for?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which language is case sensitive?
Category: Placement Tests,   Published by: teswesm
MCQs:  Abbreviate the term DOM?
Category: Placement Tests,   Published by: teswesm
MCQs:  An XML parser converts an XML document into an XML DOM object, which can then be manipulated with JavaScript.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which allows hyperlinks to point to specific parts (fragments) of XML documents?
Category: Placement Tests,   Published by: teswesm
MCQs:  By interface, we cannot support the functionality of multiple inheritances.
Category: Placement Tests,   Published by: teswesm
MCQs:  The Java Virtual Machine is the cornerstone of the Java platform.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which method of DataInputStream class reads a line from the file and returns it as a string?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which state is the thread still alive, but is currently not eligible to run?
Category: Placement Tests,   Published by: teswesm
MCQs:  Both threads are waiting for each other to release the lock, the condition is called deadlock.
Category: Placement Tests,   Published by: teswesm
MCQs:  How many ways are there to access package from another package?
Category: Placement Tests,   Published by: teswesm
MCQs:  Under which package is the string class encapsulated?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which keyword is used for the block to handle the exceptions generated by try block?
Category: Placement Tests,   Published by: teswesm
MCQs:  Nested interface must be public if it is declared outside the interface but it cannot have any access modifier if declared within the class.
Category: Placement Tests,   Published by: teswesm
MCQs:  What is used to execute parameterized query?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which class can handle any type of request so that it is protocol-independent?
Category: Placement Tests,   Published by: teswesm