Skip to Content
avatar image
Former Member

Attribute state defines object

please tell me what is meant by following sentence with an example if possible..

'Attribute content defines the state of an object'.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 22, 2010 at 01:02 PM

    lets say you have a class called ZCL_DOOR and you have an attribute called 'status'. the attribute can have the values 'open' or 'closed' and by this defines the state of the object. two objects with the same attribute values are in the same state and are therefore identical.

    Add comment
    10|10000 characters needed characters exceeded