80.8k views
5 votes
Think of an employee object. What are several of the possible states that the object may have over time?

1 Answer

6 votes

Hi, your question is unclear. However, I inferred you meant 'object' in computer programming.

Step-by-step explanation:

Remember, the term 'object' used in programming refers to stored data that can take different forms or states.

For example, a company's employee database may have several object states. Which includes;

  1. New Employee (meaning the database can contain newly employed employees)
  2. Former Employee (meaning the database can contain past/formerly employed employee)
  3. Current Employee (meaning the database can contain present/current employees)
  4. Suspended Employee (meaning the database could contain employees on suspension)

User Selig
by
6.2k points