ALLInterview.com :: Home Page KalAajKal.com
 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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Software Design  >>  OOAD
 
 


 

 
 Design Patterns interview questions  Design Patterns Interview Questions
 UML interview questions  UML Interview Questions
 OOAD interview questions  OOAD Interview Questions
 Software Design Tools interview questions  Software Design Tools Interview Questions
 Requirements Management interview questions  Requirements Management Interview Questions
 Project Planning interview questions  Project Planning Interview Questions
 Project Management interview questions  Project Management Interview Questions
 Software Design AllOther interview questions  Software Design AllOther Interview Questions
Question
Every object has : state, behavior and identity - 
explain
 Question Submitted By :: Siva
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Every object has : state, behavior and identity - explain
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 ?    1 Yes 0 No
Benjamin Jacob
 
  Re: Every object has : state, behavior and identity - explain
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 ?    0 Yes 0 No
Praveen Kumar
 
 
 

 
 
 
Other OOAD Interview Questions
 
  Question Asked @ Answers
 
What are the tools you used for OOAD? Protech1
Difference: Sequence Diagrams, Collaboration Diagrams ? Protech1
Difference Between Attribute and Association. Protech2
What is an USECASE? Why it is needed?  5
What do you meant by "SBI" of an object?  2
Difference: Object Oriented Analysis (OOA) and Object Oriented Design (OOD)?  1
Every object has : state, behavior and identity - explain Protech2
Suppose a class acts an Actor in the problem domain, how to represent it in the static model?  1
Where shall I go for Package Diagram? Protech1
What is inheritance? Protech3
Who is an Actor?  3
What is association? Protech2
What are the four phases of the Unified Process ? Protech3
What is Polymorphism? Protech2
Can you think of some nice examples where *multiple* actors are associated with a use case ? Protech1
What is a Persistent, Transient Object? Protech2
Can link and Association applied interchangeably?  1
How to use CRC Cards for Class Design? Protech2
Differentiate between Aggregation and containment?  1
Difference: Object Oriented Analysis (OOA) and Object Oriented Design (OOD)? Protech2
 
For more OOAD Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com