How does inheritance relate to polymorphism in Java?

What will be an ideal response?


Inheritance is one process by which polymorphic references are created. A reference to a type higher in an
inheritance hierarchy can always refer to an object of a type lower in an inheritance hierarchy due to the is-a relationship.

Computer Science & Information Technology

You might also like to view...

?If you wish to work as an IS professional in a construction business, it does not matter if you cannot communicate with the business managers in their business terms.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

You should compare each completed page against its corresponding ____ to make sure that all page elements have been placed in their proper locations on the page.

A. prototype B. wireframe C. style sheet D. index

Computer Science & Information Technology

When creating a custom slide layout, viewing gridlines helps to align the objects being positioned on the slide

Indicate whether the statement is true or false

Computer Science & Information Technology

A wiki is

a. An online encyclopedia. b. A personal journal kept on the Web. c. An electronic profile constructed automatically by a Web browser. d. A piece of software that allows ISPs to monitor who visits which Web sites. e. A Web site that allows multiple people to contribute and edit its content.

Computer Science & Information Technology