Computer Science, asked by tejaswaroopbattula, 8 months ago

explain difference between inheritance and encapsulation using suitable examples

Answers

Answered by vijaysodmise4488
0

Answer:

inheritance means aquared characteristics

Answered by niteshyadav6
1

Answer:

Inheritance is an object oriented concept which creates a parent-child relationship. ... Encapsulation is an object oriented concept which is used to hide the internal details of a class, for example, HashMap encapsulate how it store elements and calculate hash values.

Similar questions