Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Every object has : state, behavior and identity -
explain

Answers were Sorted based on User's Feedback



Every object has : state, behavior and identity - explain..

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

Every object has : state, behavior and identity - explain..

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

Post New Answer

More OOAD Interview Questions

Can an interface implement or extend another interface?

0 Answers  


Explain what is object oriented programming language?

0 Answers  


What is the diffrence between an abstract class and interface?

0 Answers  


Which OOPS concept is used as a reuse mechanism?

0 Answers  


What are the access modifiers?

0 Answers  


what is the difference between the up phase and up workflows?

1 Answers  


Difference: Sequence Diagrams, Collaboration Diagrams ?

2 Answers   Protech,


What is meant by inheritance? what are the advantages of inheritance?

0 Answers  


How can we call the base method without creating an instance?

0 Answers  


Suppose a class acts an Actor in the problem domain, how to represent it in the static model?

2 Answers  


What is a pure virtual function?

3 Answers  


How many methods are there in the externalizable interface?

0 Answers  


Categories