Java MCQ Questions for Placement


Q.  The client in socket programming must know which informations?

a. IPaddress of Server
b. Port number
c. Both A & B
d. None of the above


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Give the abbrevation of BSD.
Category: Placement Tests,   Published by: teswesm
MCQs:  The DatagramSocket and DatagramPacket classes are not used for connection-less socket programming.
Category: Placement Tests,   Published by: teswesm
MCQs:  What is XML used to simplify?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which Characters are illegal in XML elements?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which type of polymorphism is nothing but the method overloading in java?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which is nothing but a blueprint or a template for creating different objects which defines its properties and behaviours?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which class can be used to read data line by line using the readLine() method?
Category: Placement Tests,   Published by: teswesm
MCQs:  Package does not provide access protection
Category: Placement Tests,   Published by: teswesm
MCQs:  Generally string is a sequence of characters, But in java, string is an _______.
Category: Placement Tests,   Published by: teswesm
MCQs:  Which block contains a block of program statements where an exception might occur?
Category: Placement Tests,   Published by: teswesm
MCQs:  Static fields belong to the class, not instances of the class
Category: Placement Tests,   Published by: teswesm
MCQs:  Which enables some interaction with the garbage collector?
Category: Placement Tests,   Published by: teswesm
MCQs:  What is the reason that a java program cannot directly communicate with an ODBC driver?
Category: Placement Tests,   Published by: teswesm
MCQs:  In HTTP Request what asks for the loopback of the request message, for testing or for troubleshooting?
Category: Placement Tests,   Published by: teswesm
MCQs:  Abbreviate the term HQL?
Category: Placement Tests,   Published by: teswesm
MCQs:  In which configuration file is there a link between the View and Model components in the Web Client but you would not have to touch these settings for 99.99% of your projects?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which server-side component is required to be deployed on the server?
Category: Placement Tests,   Published by: teswesm
MCQs:  RMI uses which protocol on top of TCP/IP (an analogy is HTTP over TCP/IP)?
Category: Placement Tests,   Published by: teswesm
MCQs:  In JSP how many ways are there to perform exception handling?
Category: Placement Tests,   Published by: teswesm
MCQs:  Which JDBC drivers will run your program?
Category: Placement Tests,   Published by: teswesm