Every object has : state, behavior and identity -
explain
Answers were Sorted based on User's Feedback
Answer / benjamin jacob
Identity : Every instance of a class should be unique. e.g.
in memory, every object has its own memory address. This is
part of the unique id, other than which a user can have
member variables uniquely identifying the instance of the class.
State : Every object, at any given point of time would have
to have a set of attributes defining its State.
Behavior : Every object based on its state and optionally
identity will have particular behavior.
| Is This Answer Correct ? | 85 Yes | 16 No |
Answer / praveen kumar
Object is an instance of the class.And oject must have the
identity because of object can be specified in Class. And
has carries the behaviour of that perticular class
| Is This Answer Correct ? | 14 Yes | 36 No |
What does the keyword virtual represented in the method definition?
What is the difference between static and dynamic Classificaition.Give some examples.
1 Answers InfoAxon Technologies, Protech, Wipro,
What is the difference between function overloading and over riding?
What is the difference between oop and sop?
Can you think of some nice examples where *multiple* actors are associated with a use case ?
What is Object Constraint Language (OCL)?
Giving reasons explain two external responsibilities of a project manager.
What do you mean by operator overloading?
What is the practical implementation of inner classes?
State about java and its relation to object oriented programming?
In winform my controls [taskbar and progressbar] become inactive when heavy processing is going in background, how to avoid this via multithreading
Can you tell something about GDI objects?