Question
Which of the following statements best describes
polymorphism in object-oriented programming?Solution
Polymorphism is a core concept of Object-Oriented Programming (OOP) that allows objects to respond to the same method call in different ways based on their type. This is particularly useful in scenarios where a parent class defines a method, and child classes override this method to provide specific behavior. Polymorphism can occur in two forms:
- Compile-Time Polymorphism (Static) : Achieved using method overloading.
- Run-Time Polymorphism (Dynamic) : Achieved using method overriding, where the method to be invoked is determined during runtime.
- How many Anthurium flowers were included in the first export consignment from Mizoram to Singapore?
On 07 August 2025 in New Delhi, declassified versions of which joint doctrines were released by the CDS?
According to the performance grading index (PGI) 2.0,which two states/ut have achieved Grade Prachesta -2 ?
_______ is appointed as the Interim President of Indian Olympic Association?
Who among the following has become the first ever Railway officer and also the first ever officer from the non-uniformed Civil Services to complete the ...
How much budget has been allocated for the extension of Pradhan Mantri Fasal Bima Yojana (PMFBY) and Restructured Weather Based Crop Insurance Scheme?...
Which country recently conducted a test of a new tactical ballistic missile called Hwasongpho-11 Da-4.5, designed to carry a 4.5-ton weapon?
The acceleration of the ocean current connecting the Indian, Atlantic, and Pacific oceans has been linked to which global condition?
Which of the following statements is/are not correct in regards to budget 2023-24?
1.   ‘Bharat Shared Repository of Inscriptions’ to be ...
How many Lok Sabha and State Assembly statistical reports can be generated through the Election Commission’s new Index Card system?