Question
Which of the following best represents the concept of
polymorphism in Object-Oriented Programming?ÂSolution
Polymorphism in Object-Oriented Programming (OOP) allows methods to be defined in different forms across different derived classes, typically by overriding or overloading methods. This enables a single method to exhibit multiple behaviors, depending on the object that invokes it. For example, a base class method draw() in a shape class could be defined differently in derived classes like Circle and Rectangle, where each class implements its unique version of draw(). This approach promotes flexibility, reduces code duplication, and allows developers to manage code easily as new classes are added, embodying one of OOP’s core principles. Polymorphism is critical for creating extensible and maintainable code, as it enables a system to process objects of various types through a common interface. Option A (Encapsulation) - Encapsulation is the OOP principle of hiding internal details and exposing only necessary features through a class interface, which differs from polymorphism’s focus on varied behaviors. Option C (Aggregation) - Aggregation describes a "has-a" relationship between classes, where one class contains references to another, unrelated to polymorphic behavior. Option D (Encapsulation) - This concept of grouping related fields and methods within a class refers to encapsulation, not polymorphism. Option E (Unrelated Classes) - Allowing objects of unrelated classes to connect without a common functionality does not represent polymorphism, which requires shared interfaces or inheritance.
What is the upper limit of the guarantee cover under the CGTMSE scheme for micro and small enterprises ?
The Pradhan Mantri Mudra Yojana completed 10 years of its launch. The government introduced a new category under this scheme to cover loans between ₹1...
As per the priority sector lending (PSL) norms as revised in March 2025, what is the target for lending to non-corporate farmers within the agriculture ...
The maximum composite loan limit that the banks can sanction to MSE entrepreneurs through a single window is _______Â
In the financial markets, the process of dematerializing government securities involves converting physical certificates into electronic form. This proc...
What initiative was launched by SIDBI in 2018 to track the current state and expected outlook on the MSME sector?
Which base year is used for the calculation of GDP in India currently?
Which of the following credit facility aimed to i ncrease flow of credit to individuals for entrepreneurial activity in the non-farm sector , which is e...
In the evolving landscape of financial markets, the structure and governance of stock exchanges have undergone significant changes to improve transparen...
As per the Nayak committee, an MSME can avail working capital from a bank to the extent of ______ of its annual projected turnover?