New UML Interview Questions :: ALLInterview.com http://www.allinterview.com New UML Interview Questions en-us what is difference between Extend and Include with example? http://www.allinterview.com/showanswers/71740.html Include, one cannot live without the other. The use case must include another use case. For example when you create an order you always must verify name etc. Extend, one can live without the other only some instances the use case will exten what is difference between Seqence and Collaboration diagrams with e http://www.allinterview.com/showanswers/71738.html Both Sequence and Collaboration diagrams are interaction diagrams. The difference is that Sequence diagrams describes the interaction between classes against time. In Collaboration diagram the interaction between classes is shown against both tim Is there any difference between Containment and Composition? http://www.allinterview.com/showanswers/66796.html Composition that is used to store several instances of the composited data type is referred to as containment. Examples of such containers are arrays, linked lists, binary trees and associative arrays. In UML, containment is depicted with a What is a Persistent, Transient Object? http://www.allinterview.com/showanswers/10713.html Persistent objects are on this heap, while transient objects are in the transient memory. Transient and persistent objects can access each other mutually. Accessing a persistent object leads to loading the object into the transient heap. It i What do you mean by "Realization"? http://www.allinterview.com/showanswers/10712.html it means leaving the implementation to the implementer, i.e. interface. you leave the implementation of functionality to the class who is implementing this interface Explian following terms: Constraint Rules, Design by contract. http://www.allinterview.com/showanswers/10707.html Constraint rule: Much of what you are doing in drawing a class diagram is indicating constraint. EX:Corporate customers have credit limits but Personal customer do not. Design by contract: It provides rigorous defn. of oper What is the difference between static and dynamic Classificaition.Giv http://www.allinterview.com/showanswers/10706.html Dynamic classification allows objects to change type within the subtyping structure whereas static classification does not Ex:for dynamic classification is person's job(It can change).EX:for static classification sex.(male & female). What are associative classes? http://www.allinterview.com/showanswers/10705.html association class allows you to add operaions ,attributes and other features to associations. Difference Between Attribute and Association. http://www.allinterview.com/showanswers/10704.html attribute is a member of a class where as Association is a relationship of one class to another What is Object Constraint Language (OCL)? http://www.allinterview.com/showanswers/10703.html The Object Constraint Language is a declarative language for describing rules that apply to UML models developed at IBM and now part of the UML standard. Initially OCL was only a formal specification language extension to UML. OCL may now be How to use CRC Cards for Class Design? http://www.allinterview.com/showanswers/10702.html Class Responsibility Collaborator (CRC cards) are a brainstorming tool used in the design of object-oriented software. They were proposed by Ward Cunningham and Kent Beck. [1] They are typically used when first determining which classes are n Can you think of some nice examples where multiple actors are associa http://www.allinterview.com/showanswers/10701.html Lets assume i've a Web Application where different kind of users can login based on their own credentials provided....and we implemented the login mechanism for the same....so now different users ( Actor ) has to interact with the login What are the good practices to use while designing for reuse? http://www.allinterview.com/showanswers/10700.html noramally you will move common functinality in base class or create the abstract class with common concrete methods and leave remaining for implemenetation also you can create interfaces. Does a concept HAVE to become a class in Design? http://www.allinterview.com/showanswers/10699.html If the concept leads to any functionality to the system, then should be part of class as a Method. UML: IS it a process, method or notation? http://www.allinterview.com/showanswers/10698.html notation