an object is represented by two attributes out of which one is characteristics and the other one is __________________
Answers
Answered by
0
Answer:
May be 'class'
If not so comment back l'll search in book again
Answered by
1
Behaviour
an object is represented by two attributes out of which one is characteristics and the other one is Behaviour.
- An object's methods, which are the functions and routines specified within the object class, determine how the object behaves. The only thing a class would be without class methods is a structure.
- A class's functionality, the way it alters its data, and its general behaviour are all determined by its methods.
- The actions of objects derived from a class are specified by a method. A method is an action that an object is capable of performing, to put it another way. Binding refers to the connection between a method and a class.
- The qualities of a class's attributes assist to set it apart from other classes. The actions an object takes are known as its behaviours. For instance, a person's characteristics include their age, name, and height, whereas their actions include their ability to speak, run, walk, and eat.
#SPJ3
Similar questions