Day 6 : Encapsulation
๐ง What is Encapsulation?
Encapsulation is the bundling of data (variables) and methods (functions) that operate on the data into a single unit โ a class.
It also means restricting direct access to some components, which is called data hiding.
๐ In ...
lldwithbaijnath.hashnode.dev9 min read