Which of the following scenarios demonstrates the concept of inheritance in OOP?
A 'Dog' class inherits properties and methods from an 'Animal' class.
An 'Employee' class inherits properties and methods from a 'Student' class.
Baroque art features strong contrasts, while Rococo art prefers more subtle transitions
Baroque art is generally larger in scale than Rococo art

Computing Exercises are loading ...