Encapsulation and Polymorphism
- Created by: JoshThompson1
- Created on: 30-11-21 16:26
Fullscreen
Encapsulation and Polymorphism
Specification
Be familiar with the concepts of:
- encapsulation
- polymorphism
Encapsulation
Encapsulation is the name given to the process of combining methods and procedures to form an object in object-oriented programming. An object is said to encapsulate its contents, forming a single entity which encompasses all of the object's properties and methods.
Encapsulation allows the development of large programs to be split across a team of developers, each of whom can be allocated a class to develop. As long as a developer knows the methods which belong to other classes, they can develop their…
Comments
No comments have yet been made