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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is serialization? How do we implement serialization actually?

1031


Can we override a method by using same method name and arguments but different return types?

997


What do you mean by data hiding?

1178


What is the difference between a class and a structure?

1029


Explain the implementation phase with respect to oop?

1015


What is difference between encapsulation and abstraction?

1050


Why does java not support multiple inheritance?

1118


How many methods are there in the externalizable interface?

1085


Differentiate between data abstraction and encapsulation.

1035


What is the need of multiple inheritance?

1124


Explain what is an object?

1026


Explain about object oriented programming?

1058


What are the four important foundation concepts of OOP ?

1000


What are the limitations of oops?

1060


What is the benefit of using inheritance?

1078