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

what three "domains" are considered during analysis modeling?

0 Answers   Wipro,


What is difference between polymorphism and normalization?

0 Answers   NIIT,


State some of the advantages of object oriented programming?

0 Answers  


Why is message passing between the objects important?

0 Answers  


Difference: Object Oriented Analysis (OOA) and Object Oriented Design (OOD)?

5 Answers   ABC, Protech,


What is a default method? Why do we need default methods in java 8 interfaces?

0 Answers  


What is an abstract property. Give an example?

0 Answers  


Is class an Object? Is object a class?

11 Answers  


Explain about abstraction?

0 Answers  


What is the benefit of using inheritance?

0 Answers  


Why dynamic loading is used in object-oriented programming?

0 Answers  


Explain about object oriented databases?

0 Answers  


Categories