Basic and Advance Programming Question:
Download Job Interview Questions and Answers PDF
What do you meant by “SBI” of an object in programming?
Answer:
SBI stands for State, Behavior and Identity. Since every object has the above three.
State:
It is just a value to the attribute of an object at a particular time.
Behaviour:
It describes the actions and their reactions of that object.
Identity:
An object has an identity that characterizes its own existence. The identity makes it possible to distinguish any object in an unambiguous way, and independently from its state.
State:
It is just a value to the attribute of an object at a particular time.
Behaviour:
It describes the actions and their reactions of that object.
Identity:
An object has an identity that characterizes its own existence. The identity makes it possible to distinguish any object in an unambiguous way, and independently from its state.
Download Programming Interview Questions And Answers
PDF
Previous Question | Next Question |
Differentiate the class representation of Booch, Rumbaugh and UML in programming? | What is Python and what is scope of Python? |