Java MCQ Questions for Placement

Q.  Find whether these two rules are correct or not defined by the constructor 1. Constructor name must be same as its class name. 2. Constructor must have no explicit return type.

a. True
b. False


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Package does not provide access protection
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Generally string is a sequence of characters, But in java, string is an _______.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which block contains a block of program statements where an exception might occur?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Static fields belong to the class, not instances of the class
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which enables some interaction with the garbage collector?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What is the reason that a java program cannot directly communicate with an ODBC driver?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  In HTTP Request what asks for the loopback of the request message, for testing or for troubleshooting?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Abbreviate the term HQL?
Category: Placement Tests,   Published by: T-Code Scripts
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: T-Code Scripts
MCQs:  Which server-side component is required to be deployed on the server?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  RMI uses which protocol on top of TCP/IP (an analogy is HTTP over TCP/IP)?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  In JSP how many ways are there to perform exception handling?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which JDBC drivers will run your program?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  All Applets must import java.applet and java.awt.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Swing is not a part of JFC (Java Foundation Classes) that is used to create GUI application
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What method Returns an enumeration of the keys which includes those keys found in the default property list?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which package provides core functionality?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which class is used to create servers that listen for either local client or remote client programs?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is a software- and hardware-independent tool for carrying information?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  XML is the most common tool for data transmissions between all sorts of applications
Category: Placement Tests,   Published by: T-Code Scripts