Computer Science, asked by sunilsingh5078943, 7 months ago

An object has which of the following?
O. properties
O. behaviour
O. both(a) and(b)
O. class​

Answers

Answered by harshita2520
3

Answer:

Option a is right..........

Explanation:

An object has properties..

hope it helps

Answered by KailashHarjo
0

An object has both properties and behavior. The correct option is both (a) and (b).

  • An object fundamental building block of Object-Oriented Programming represents actual people and things.
  • An object includes:
  • State: An object's attributes serve as a representation of it. Additionally, it reflects an object's characteristics.
  • Behavior: It is represented by an object's methods. Additionally, it depicts how an object interacts with other objects.
  • Identity: It gives an object a special name and makes it possible for one object to communicate with another.
  • A class is said to be instantiated when an object belonging to it is produced. The class's characteristics and behavior are shared by all instances.
  • However, the states of those attributes, or their values, are particular to each object. Any number of instances may exist for a single class.

To learn more:

https://brainly.in/question/17307931

https://brainly.in/textbook-solutions/q-basic-concepts-oop

#SPJ2

Similar questions