Question
In OOP, which concept allows a subclass to provide a
specific implementation of a method already defined in its parent class?Solution
Method overriding allows a subclass to redefine a method of its parent class to provide more specific behavior. 1. Dynamic Binding: Overriding enables dynamic (runtime) polymorphism, allowing a subclass method to be invoked via a parent class reference. 2. Specialization: It customizes inherited behavior, making objects more precise in functionality. For example, a generic draw() method in a Shape class can be overridden by a Circle subclass to draw circles. 3. Liskov Substitution Principle: Overriding ensures subclass objects can seamlessly replace parent class objects without affecting system behavior. Option C exemplifies OOP’s adaptability and extendability by redefining methods at runtime. Why Other Options Are Incorrect: • A) Encapsulation: Manages data access, unrelated to redefining methods. • B) Method Overloading: Involves multiple methods with the same name but different parameters, unrelated to inheritance. • D) Abstraction: Focuses on defining essential features, unrelated to runtime behavior customization. • E) Composition: Relates to object containment, not method redefinition.
From the given answer figures, select the one in which the question figure is hidden / embedded(rotation is not allowed).
Select the answer figure in which the question figure is hidden ?
Find out the alternative figure which contains figure (X) as its part.
Select the option that is embedded in the given figure.
Select the option figure which is embedded in the given figure. (Rotation is not allowed).
From the given answer figures, select the one in which the question figures is hidden.

In each of the following questions, you are given a figure (X) followed by four alternative figures (1), (2), (3) and (4) such that figure (X) is embed...
Select the option figure which is embedded in the given figure. (Rotation is not allowed).
