ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Software Design >> OOAD
 
 


 

 
 Design Patterns interview questions  Design Patterns Interview Questions (75)
 UML interview questions  UML Interview Questions (57)
 OOAD interview questions  OOAD Interview Questions (54)
 Software Design Tools interview questions  Software Design Tools Interview Questions (14)
 Requirements Management interview questions  Requirements Management Interview Questions (40)
 Project Planning interview questions  Project Planning Interview Questions (70)
 Project Management interview questions  Project Management Interview Questions (34)
 Technical Writer interview questions  Technical Writer Interview Questions (6)
 Software Design AllOther interview questions  Software Design AllOther Interview Questions (55)
Question
Every object has : state, behavior and identity - 
explain
 Question Submitted By :: OOAD
I also faced this Question!!     Answer Posted By  
 
Answer
# 1


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 ?    59 Yes 14 No
Benjamin Jacob
 
Answer
# 2
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 ?    11 Yes 29 No
Praveen Kumar
 
 
 

 
 
 
Other OOAD Interview Questions
 
  Question Asked @ Answers
 
what is meant by "method-wars"?   2
Every object has : state, behavior and identity - explain Protech 2
What is an USECASE? Why it is needed?   8
Difference between Composition and Aggregation Protech 2
Can you think of some nice examples where *multiple* actors are associated with a use case ? Protech 2
What is the use of Operator Overloading? Protech 1
Difference Between Attribute and Association. Protech 2
What is inheritance? Protech 7
Comment: C++ "includes" behavior and java "imports" Protech 1
Differentiate between Aggregation and containment?   3
Difference: Sequence Diagrams, Collaboration Diagrams ? Protech 2
Difference: Activity Diagram and Sequence Diagram Protech 3
 
For more OOAD Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com