Abstract class A has 4 virtual functions. Abstract class B defines only 2 of those member functions as it extends class A. Class C extends class B and implements the other two member functions of class A. Choose the correct option below.
(a) Program won’t run as all the methods are not defined by B
(b) Program won’t run as C is not inheriting A directly
(c) Program won’t run as multiple inheritance is used
(d) Program runs correctly
All Replies
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.