Accessing a class properties