Java MCQ Questions for Placement

Q.  Which is a non-static method having the same name as its class?

a. Field
b. Method
c. Constructor
d. None of the above


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Which method is used in thread class to test if the current thread has been interrupted?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which type of java package that contains wide range of classes and methods are used for performing different functionalities?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which concept is used to make Java more memory efficient (because no new objects are created if it exists already in string constant pool)?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  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.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which are also known as inner classes?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which driver converts JDBC calls directly into the vendor-specific database protocol?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which one of the following scopes does the attribute in servlet is an object that can be set, get or removed?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method is easy for a java programmer to add a criteria?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  POJO means you are not forced to implement any interface or extend any class.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  How many types of session beans are available in EJB?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method of the Naming class (found in java.rmi) is used to update the RMI registry on the server machine?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  In JSP page directive which attribute defines the MIME(Multipurpose Internet Mail Extension) type of the HTTP response?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  A leading database connectivity vendor, worked together to produce the ____.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method is first Called for any applet when it starts its execution?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  When an applet begins, in which sequence will the AWT call the methods?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  The Following steps are required to perform (1) Implement the Listener interface and overrides its methods (2) Register the component with the Listener
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Void is not a wrapper class
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Give the abbrevation of BSD.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  The DatagramSocket and DatagramPacket classes are not used for connection-less socket programming.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What is XML used to simplify?
Category: Placement Tests,   Published by: T-Code Scripts