A subclass inherits

A subclass inherits


a. protected data only
b. public, private, and protected data
c. public and private data
d. public and protected data


Answer: d. public and protected data


Learn More :