Any instance of a subclass can be used in a program anywhere that an instance of the superclass can be used.

What will be an ideal response?

True.

Computer Science & Information Technology

You might also like to view...

In an event-driven simulation of a bank, which of the following equations can be used to determine the time of a customer’s departure?

a) time of next departure = current time – arrival time b) time of next departure = time service begins + length of transaction c) time of next departure = arrival time + length of transaction d) time of next departure = current time – (arrival time + time service begins)

Computer Science & Information Technology

A router has three network routes to a destination. The routing protocols used for the paths are OSPF, EIGRP, and RIP. Based on administrative distance, what is the routing protocol with the smallest default distance value?

What will be an ideal response?

Computer Science & Information Technology