Encapsulating is keeping all of the information about something together.
So building on my prior Customer example, I abstracted out the appropriate properties and methods for a customer when building a car sales application. When I build the Customer class, I keep all of the customer properties and methods in the same class, thereby encapsulting all of the Customer functionality.
www.insteptech.com ; http://ift.tt/1nDcucN
We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS!
So building on my prior Customer example, I abstracted out the appropriate properties and methods for a customer when building a car sales application. When I build the Customer class, I keep all of the customer properties and methods in the same class, thereby encapsulting all of the Customer functionality.
www.insteptech.com ; http://ift.tt/1nDcucN
We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS!
No comments:
Post a Comment