Encapsulation (computer programming): Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1:
''encapsulation packing variables with in the protective custtady of it method is called encapsulation''
Encapsulation is the packing of data and functions into a single component. The features of encapsulation are supported using classes in most object-oriented programming languages, although other alternatives also exist. It allows selective hiding of properties and methods in an object by building an impenetrable wall to protect the code from accidental corruption.