Which one is the best description of polymorphism?
A. It is the ability for undefined message/data to be processed in at least one way
B. It is the ability for a message/data to be processed in more than one form C. It is the ability for many messages/data to be processed in many ways D. none of these The languages that support classes but not polymorphism is called? A. child Class-based language B. Class-based language C. Object-based language D. Procedure Oriented language Which one is the language that does not support polymorphism but support classes? A.C# b) Ada c) C++ d) Java 4. The feature that its specification is if same message is passed to objects of several different classes and all of those can respond in a different way then it is called? A. Inheritance B. Classes C. Polymorphism D. none of these Answer - Click Here:
5. Which type of function shows polymorphism among the following?
A. Inline function B. Virtual function C. Undefined functions D. Class member functions 6. In case of using abstract class or function overloading, the function is supposed to be called first? A. Local function B. Function with the highest priority in the compiler C. Global function D. none of these Answer - Click Here:
7. Which one of the following can’t be used for polymorphism?
A. Member functions overloading B. Static member functions C. global member function D. Constructor overloading Answer - Click Here:
8. Which one of the following can show polymorphism?
A. Overloading || B. Overloading && C. Overloading << D.Overloading += Answer - Click Here:
9. Polymorphism is also possible in C language is it correct.
a) Yes b) No C. both A&B D. none of these The problem may arise if we use abstract class functions for polymorphism in OOP? A. All classes are converted as an abstract class B. All the derived classes must implement the undefined functions C. abstract class must have derived a class D. Derived classes can’t redefine the function Answer - Click Here:
11. Which of the following is not true for polymorphism?
A. It is a feature of OOP B. Ease in the readability of a program C. Helps in redefining the same functionality D. Increases overhead of function definition always The provision of a single interface to entities of different types is called? A. polymorphism B. dimorphism C. trimorphism D. none of these 17. Using operation or function in different ways depending on what they are operating on is called? A. classes B.inheritence C. polymorphism D. dimorphism Answer - Click Here:
18. Run time polymorphism is achieved only when a ……………….. Is accessed
through a pointer to the base class. A) static function B) Real function C. Member function D) Virtual function . A class serves as base class for many derived classes it is called: A. polymorphism B. multipath inheritance C .hierarchical inheritance D. none of these Answer - Click Here:
20. The two or more classes serve as base class for a derived class, then this situation is called . A. Polymorphism B. multiple inheritance C. encapsulation D. none of these
Learn Python Programming for Beginners: Best Step-by-Step Guide for Coding with Python, Great for Kids and Adults. Includes Practical Exercises on Data Analysis, Machine Learning and More.
Microsoft 365 Guide to Success: 10 Books in 1 | Kick-start Your Career Learning the Key Information to Master Your Microsoft Office Files to Optimize Your Tasks & Surprise Your Colleagues | Access, Excel, OneDrive, Outlook, PowerPoint, Word, Teams, etc.
Microsoft PowerPoint Guide for Success: Learn in a Guided Way to Create, Edit & Format Your Presentations Documents to Visual Explain Your Projects & Surprise Your Bosses And Colleagues | Big Four Consulting Firms Method