Tuesday, May 27, 2014

Question on Encapsulating Classes

A property that returns the value of a private field is another example of encapsulation. A calling class doesn't need to know anything about the private field and it cannot access it: http://ift.tt/1pfk4wz


No comments:

Post a Comment