Question OOP-POLY-0027
EasyWhat is upcasting?
- A.
Treating a derived-class object as an object of its base class
- B.
Copying an object
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Polymorphism question
What is upcasting?
Treating a derived-class object as an object of its base class
Copying an object
Sign up free to see the answer and a step-by-step explanation.
Converting a number to text
Making a class abstract