What does a derived class inherit from its base class? Only data Only behavior Both data and behavior Neither data nor behavior

icon
Related questions
Question
C++
What does a derived class inherit from its base class?
Only data
Only behavior
Both data and behavior
Neither data nor behavior
Transcribed Image Text:What does a derived class inherit from its base class? Only data Only behavior Both data and behavior Neither data nor behavior
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer