Try OpenEdge Now
skip to main content
Object-oriented Programming
Programming with Class-based Objects : Using static members of a class : Accessing static members : Accessing static members from outside the defining class
 
Accessing static members from outside the defining class
From outside its defining class, you can access any supported static member that is defined as PUBLIC, and you must access that member using static type-name syntax.
For example, if the updateTimestamp( ) method from the acme.myObjs.Common.CommonObj sample class was defined as static, you could call it as in the following procedure fragment:
USING acme.myObjs.Common.*.

CommonObj:updateTimestamp( ).