Computer Science, asked by santoshgautamk3802, 1 year ago

How does inheritance help us to create new classes quickly?

Answers

Answered by susmita101
8

The idea behind the inheritance to create new classes , that are built upon existing classes . When we inherit from an existing classes , we can reuse methods fields of the parent class . Moreover we can add. new methods in our current class also .

Hope. it helps .!

Similar questions