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.
Among the options, select the one that uses the correct conjunction.
Select the INCORRECTLY spelt word.
Add suitable question tags to the following statements from among the choices given below them
The girls have cleaned the room, ______? (tag qu...
Identify the form of each sentence given here from among the choices given below it :
You should complete your work or face the consequences.
Add suitable question tags to the following statements from among the choices given below them-
Neither he nor his friends ______ going to the ...
Add suitable question tags to the following statements from among the choices given below them
He will attend the meeting, ______? (tag questio...
Do you think that flying an airplane is a ..... experience?
Select the sentence with correct punctuation and capitalisation.
Although it was raining, we went for a walk.
Neither the Chief Guest nor the audience …… interested in the proceedings.