Java MCQ Questions for Placement

Q.  Which allows you to migrate your implementations over time without breaking the code that depends on the public interface of your classes?

a. Polymorphism
b. Inheritance
c. Encapsulation
d. Both A & B


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  What does the java.net.InetAddress class represent?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Datagram is basically an information but there is no guarantee of its content, arrival or arrival time.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which allows you to define one interface and have multiple implementations?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which data type has this Minimum and Maximum value from 3.4e-038 to 3.4e+038?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  The CharArrayWriter class is not used to write data to multiple files
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Many threads at a time can run in a single process
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which containers are used to keep the class name space compartmentalized?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method compares the given object to 'this' object?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Exception Handling is a mechanism to handle runtime errors
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is a non-static method having the same name as its class?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  If a class has multiple methods by same name but different parameters, it is known as?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Local inner class can access non-final local variable
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which of the following JDBC drivers is known as a partially java driver?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which are the examples of Application Server?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Hibernate is an?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  How many core components does the Model-View-Controller pattern in Struts2 have?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which type of instances retain no data or conversational state for a specific client?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What is the built on top of the socket programming?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which models do the JDBC API support for the database access?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which applet java.awt.component class provides the life cycle method?
Category: Placement Tests,   Published by: T-Code Scripts