23.1k views
2 votes
How does OOP keep both code and data safe from outside interference and
incuse?

User Peaer
by
4.5k points

1 Answer

5 votes

Answer:

it is the process that binds together the data and code into a single unit and keeps both from being safe from outside interference and misuse. In this process, the data is hidden from other classes and can be accessed only through the current class's methods

User Ganapathy
by
3.9k points