34,333
edits
Changes
→Defining Class Methods
== Defining Class Methods ==
<google>ADSDAQBOX_FLOW</google>
Since we have declared our our class data properties to be private, we need to provide methods which will give us access to those properties from our code. This is achieved using Get and Set methods. The syntax for get and Set methods is as follows: