class(): Class;
The class method of the Object class returns a reference to the class of the receiver object.
If you want to return a reference to the class of a specified object identifier (oid) even if this object is no longer valid, call the Object class getClassForObject method; for example, in exception handlers that may need to deal with object references that are no longer valid.