How are objects implemented in software terms ?
Answers
Answered by
23
Please mark it as brainliest
Attachments:
Answered by
0
Answer:
Software objects have state and behavior just like actual physical objects do. A software object uses methods to implement its behavior and variables to maintain its state.
Explanation:
The state (data) and behavior of an object (code). Software typically uses member functions to represent behavior and data members to represent an object's characteristics.
In terms of software, an object is implemented as follows:
(I) Member variables or data items of the object are used to implement characteristics or attributes.
(ii) Member functions referred to as methods are used to implement behavior.
(iii) To give it identity, data and methods are combined into a single unit and given a special name.
Similar questions