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.
Which of the following statements is/are incorrect?
1. Telangana State government decided to rejoin the PMFBY scheme recently.
2. There ...
What is the principal tactical focus and operational level that Maitree 2025 aims to sharpen?
- How many acres of land are recommended for the development of world-class tool clusters in NITI Aayog’s report?
Who among the following is ranked 12th in the Bloomberg Billionaires Index with a wealth of $110 billion?
As of August 2024, what percentage of PMJDY accounts are held by women?
What is the primary objective of the ‘Gyan Bharatam’ initiative launched by the Ministry of Culture?Â
A dedicated fisheries business incubator known as LINAC- NCDC Fisheries Business Incubation Centre (LlFlC) has been inaugurated in _________.
Which financial tech firm has received regulatory approval from the Reserve Bank of India (RBI) to operate as a green retail non-deposit taking non-bank...
India recently signed a $170 million policy-based loan with which international organization to consolidate and strengthen its health system's preparedn...
Which of the following airlines firm in India has selected Meta software 'Workplace' for intra-company communications?