Computer Science, asked by mishranidhi801, 10 months ago

what is meant by state of an object in oop? ​

Answers

Answered by sp6559568
6

❣️Hey mate here is ur answer....❣️

An object is an entity that has state, behavior, and identity. The structure and behavior of similar objects are defined in their common class. ... The state of an object encompasses all of the (usually static) properties of the object plus the current (usually dynamic) values of each of these properties ...

In object-oriented programming (OOP), objects are the things you think about first in designing a program and they are also the units of code that are eventually derived from the process. ... Each object is an instance of a particular class or subclass with the class's own methods or procedures and data variables...

I hope it helps u.... mate...

pls Mart it if it helps.....

____itz b@d girl____

Answered by marishthangaraj
0

A state, behaviour, and identity are all characteristics of an object.  

In OOP, what is the state of an object?

  • The common class defines the structure and behaviour of comparable objects.
  • The state of an object includes all of the object's (typically static) properties as well as the current (usually dynamic) values of each of these properties.
  • The state or attributes of an object are the object's built-in characteristics or properties.

#SPJ2

Similar questions