Start learning 50% faster. Sign in now
Polymorphism in OOP refers to the ability of a function, method, or object to take on multiple forms. This characteristic allows developers to design interfaces or methods that can perform different tasks based on context. 1. Method Overloading: One of the primary examples of polymorphism is method overloading, where multiple methods share the same name but differ in argument types or counts. 2. Dynamic Behavior: Polymorphism also enables dynamic method invocation at runtime, allowing a subclass to provide a specific implementation for a method defined in its superclass. 3. Extensibility: By allowing objects to process different behaviors through a unified interface, polymorphism enhances code flexibility and scalability. Why Other Options Are Incorrect: • B) A class inheriting properties: This describes inheritance, not polymorphism. • C) Combining multiple objects: This relates to composition, which involves creating a complex object from simpler ones. • D) Restricting access: This refers to encapsulation, which controls data accessibility within a class. • E) Relationships between objects: This describes association or aggregation, not polymorphism.
As per Union Budget 2025-26, what is the total outlay proposed for the Nuclear Energy Mission aimed at Small Modular Reactors (SMRs)?
In which of the following year RBI introduced Account Aggregator Framework
Which co-oeprative bank has been recently included in the second schedule of RBI Act?
Which company signed an MoU with Bharat Electronics Limited (BEL) to establish a joint venture for HAMMER missile production?
Which two Urban Co-operative Banks (UCBs) are set to merge with other banks as per RBI’s latest approval?
In sep 2021, with whom Export-Import Bank of India (Exim Bank) has entered into an agreement for Line of Credit (LoC) of USD 40 million (USD FortyMillio...
The govt of India has approved the extension of Interest Equalization Scheme on Pre and Post Shipment Export Credit to ………
What is the repo rate as of February 2025, according to the Reserve Bank of India (RBI)?
Which country signed a deal to supply 90 tons of uranium to India for its nuclear power plants in 2025?
Open market operations, one of the monetary measures taken by RBI is: