1. Computing & Technology

Discuss in my forum

OOP Course :: A consequence of providing encapsulation is that we must write access methods to provide a public interface to the data fields. Delphi also allows us to use properties for this public interface.

We have already used properties extensively when working with Delphi’s VCL components and in this example we see how to create them (properties) for our own classes.

Related:

Comments
No comments yet.  Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2012 About.com. All rights reserved.

A part of The New York Times Company.