Start learning 50% faster. Sign in now
Polymorphism allows one interface to represent multiple implementations . This can occur through method overriding , where a subclass provides a specific implementation for a method declared in its parent class, or method overloading , where methods have the same name but different parameters. For instance, an Animal class might have a sound() method overridden in subclasses like Dog or Cat to produce specific sounds. Polymorphism enables flexibility and extensibility, as the same method can be applied differently based on the object. Why Other Options Are Incorrect : 2. A class that inherits properties from another class : This is Inheritance , not Polymorphism. 3. A class that uses another class as a part of its definition : This describes Composition , where objects are combined to form complex systems. 4. A way to restrict access to certain class members : This is Encapsulation , not Polymorphism. 5. A way of dividing a complex system into smaller components : This is closer to the concept of Modularization , unrelated to Polymorphism.
The Maximum time period of the Recurring Deposit is
How much penalty is to be paid by a person having more than one Permanent Account Number (PAN card)?
What is a mortgage?
What does C stand for in BCSBI ?
NHB RESIDEX is the contries first official housing price index. In this reference, clock which is correct?
I. HPI@ mark price is based on actua...
The Asian Development Bank (ADB) has sanctioned ________ amount of loan facility to carry forward fiscal reforms in West Bengal?
Arrange the Following banks in ascending order in their respective establishment years.
(A) Corporation Bank    (B) Punjab National BankÂ...
T-Bills, Government Bonds and Cash Deposits are the examples of –
Lack of access to financial services is technically known as:
The Reserve Bank of India was taken over by the Government in