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