Java MCQ Questions for Placement

Q.  If a subclass has the same method as declared in the parent class it is known as ______.

a. Method overriding
b. Method overloading
c. Constructor overloading
d. None of the above


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Which constructor of DatagramSocket class is used to creates a datagram socket and binds it with the given Port Number?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which is not a XML function?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  XML is a programming language like C# or Java.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which are the techniques for defining the structure of a specific type of XML documents?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  An abstract class has no use when it is extended by some other class.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which provides a new way for your programs to interface with code libraries written in other languages?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which classes has Sun Microsystem suggested not to use for read and write the textual information?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Can we start a thread twice?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Who is also called father of Java Programming Language?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which string function returns the number of characters in a string?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which default exception handler that performs the following tasks: 1: Prints out exception description. 2: Prints the stack trace (Hierarchy of methods where the exception occurred). 3: Causes the program to terminate.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  What is the disadvantage of Garbage Collection?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  A class is declared inside a class but outside a method it is known as ________.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method of 'Class' class is used to register the driver class and the method is used to dynamically load the driver class?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which object is created by the web container at time of deploying the project?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  We need to specify @Inheritance(strategy=InheritanceType.JOINED) in the parent class and @PrimaryKeyJoinColumn annotation in the subclasses.
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which way will the architecture and flow of struts 2 application will go to understand the struts flow?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which component does the Entity bean represents the persistent data stored in the database?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  Which method in naming class specifies a name to the remote object?
Category: Placement Tests,   Published by: T-Code Scripts
MCQs:  A bean encapsulates many objects into one object, so we can access this object from multiple places.
Category: Placement Tests,   Published by: T-Code Scripts