Explain the difference between virtual functions, late binding, and polymorphism.

What will be an ideal response?

There isn’t much difference between these. They all refer to the same idea.
Virtual function is a kind of member functions in an inheritance chain that the
mechanism, late binding, decides which one will be used. Polymorphism is a term
that in this context refers to the late binding mechanism.

Computer Science & Information Technology

You might also like to view...

A packet-filtering firewall operates at the Network and Data Link layers of the OSI model.

a. true b. false

Computer Science & Information Technology

The router commands used to configure and enable the FastEthernet 0/1 router interface with the IP address of 10.10.20.250 and a subnet mask of 255.255.0.0 are:

Router# conf t Router(config)# int fa0/1 Router(config-if)# ip address 10.10.20.250 255.255.0.0 Router(config-if)# no shut True or False? Indicate whether the statement is true or false

Computer Science & Information Technology