A process according to which a class acquires the characteristics from another class is encapsulation.
Answers
Answered by
1
Answer:
encapsulation is wrapping just hiding properties and methods and cap solution is used for hide the code and the data in a single unit to protect the data from the outside the world class is the best example of encapsulation abstraction on the other hand means showing only the necessary detailed to the intended user
Similar questions
Accountancy,
6 months ago
Hindi,
6 months ago
Computer Science,
6 months ago
Political Science,
1 year ago
Political Science,
1 year ago