Questions of derived class and inheritance

Some homework problems: True/False
Last edited on
imaghhc wrote:
Some homework problems: True/False

1. Answer: True If class D is derived from class B then class D has only some of the members from B, and the additional members defined in D.

2 .A programmer can use inheritance with an existing library for which only the
header file and binary are available, to derive a class more suitable to her
purpose.
What do you think and why?

This is not a homework solutions website. You won't learn anything just getting answers. Even if you don't plan to be a programmer, it is a useful skill you should learn anyway (don't just try to pass the class because you're forced to take it against your will).
Topic archived. No new replies allowed.