Computer Science, asked by rishikasrivastava28, 5 months ago

what is the state of behaviour of a class​

Answers

Answered by nikitadnaz
1

Explanation:

Together, state and behavior define the roles that an object may play. And an object may play many roles during its lifetime. For example, an object in the bank's Employee class could be involved with the payroll system, with the customer database, or with the command hierarchy

Answered by Anonymous
7

Answer:

State of an object - The state or attributes are the built in characteristics or properties of an object. For example, a T.V has the size, colour, model etc. Behaviour of the object - The behavior or operations of an object are its predefined functions. For example, a T.V.

HOPE IT HELPS YOU....

Similar questions