Which of the following statements about polymorphism is false?
a. With polymorphism, you can direct a variety of objects to behave in manners appropriate to those objects without even knowing their types.
b. With polymorphism, new types of objects that can respond to existing messages can easily be incorporated into a system without modifying the base system.
c. Polymorphism enables you to deal in specifics and let the execution-time environment concern itself with the generalities.
d. To get polymorphic behavior among existing objects, those objects must be instantiated from classes in the same inheritance hierarchy.
c. Polymorphism enables you to deal in specifics and let the execution-time environment concern itself with the generalities.
You might also like to view...
A computer program consists of a collection of ____.
A. attributes B. statements C. properties D. signals
Compare the three schema designs in four categories: global and local declarations; nesting of elements; reusability; and interaction with namespaces.
What will be an ideal response?
Which ENERGY STAR rating would have the highest efficiency?
A) Silver B) Steel C) Platinum D) Gold
Which of the following is NOT an operating system?
A) OS X B) Windows 8 C) Config.Sys D) Solaris E) Windows 7 Home Premium