5 real life examples of class in object oriented programming
Answers
Answered by
2
A car is having multiple parts.. like steering,wheels,engine...etc..which binds together to form a single object that is car. So, Here multiple parts of cars encapsulates itself together to form a single object that is Car. In real time we are using Encapsulation for security purpose...
LOOKING NICE
Similar questions
Math,
4 months ago
Math,
4 months ago
Social Sciences,
8 months ago
Social Sciences,
11 months ago
Geography,
11 months ago