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 ?    58 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 28 No
Praveen Kumar
 
 
 

 
 
 
Other OOAD Interview Questions
 
  Question Asked @ Answers
 
How to resolve many to many relationship? Protech 5
Comment: C++ "includes" behavior and java "imports" Protech 1
Difference: 'uses', 'extends', 'includes' Protech 7
How to use CRC Cards for Class Design? Protech 2
what is meant by "method-wars"?   2
Difference between Composition and Aggregation Protech 2
What do you meant by static and dynamic modeling? NIIT 6
What is Object Constraint Language (OCL)? Protech 1
What do you meant by "SBI" of an object? TCS 2
Comment: C++ "includes" behavior and java "imports"   1
What are the four phases of the Unified Process ? Protech 6
What is guard condition? Syntel 6
 
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