MichaelB.
7/28/2018 - 10:16 AM

Reference a static public attribute

Allows our calling program to access static attributes. They are shared among all objects of the class. You do not need to instantiate an object to access these attributes. You reference static (CLASS) attributes with =>. You reference instance attributes like: object->attributename.

classname=>attributename
var1 = classname=>attributename

*********************************
* Practical example

WRITE: / 'The number of cars created is: ', car=>numofcars LEFT-JUSTIFIED.