Object correct answers An entity in your program that you can manipulate by calling one or more
of its methods
Method correct answers Consist of a sequence of instructions that can access the dates of an
object
Class correct answers This describes a set of objects with the same behaviour. A class is the
blueprints from which individual objects are created
Instance variables correct answers Instance variable store the data of an object
Encapsulation correct answers the hiding of implementation details and providing methods for
data access
Unit test correct answers Verifies that a class for is currently in isolation outside a complete
program
implicit parameter correct answers the object on which a method is invoked
Cohesion correct answers Work towards a goal
Package correct answers A set of related classes
Dynamic method look up correct answers This allows us to treat objects of different classes in
uniform way
, Polymorphism correct answers We ask multiple objects to carry up a task and each object Does it
in its own way. Polymorphism means having multiple forms
Early binding correct answers Decisions are made a compilation time by the compiler
Late binding correct answers Decisions are made at one time by the Java virtual machine
Call back correct answers A mechanism for specifying code that is executed at a later time
Which of the following regarding static methods is true ? correct answers A) static methods can
be easily involved to add more functionality b) use static methods usually leads to good object
oriented design c) static methods should be liberally used within classes d) static methods are not
very common
Ans D
Exception Handling correct answers Provides a flexible mechanism for passing control from the
point of error detection to a handler that can deal with that error
What happens when an exception is thrown correct answers The current method terminates
immediately. The normal control of flow is terminated. Execution continues with an exception
handler
Recursion correct answers The same computation occurs repeatedly
Set interface correct answers An unordered collection of unique elements
List interface correct answers A collection that remembers the order of its elements