Skip to Content
author's profile photo Former Member
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

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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