What is Object Constraint Language (OCL)?



What is Object Constraint Language (OCL)?..

Answer / naveen sisupalan

OCL is used to define pre conditions, post conditions and
other conditional statements in UML.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More OOAD Interview Questions

What are abstract methods?

0 Answers  


What are abstract functions? Why are they used?

0 Answers  


What do you mean by "explicitly implemeting an interface". Give an example?

0 Answers  


Why is OOP good?

0 Answers  


What is sealed modifiers?

0 Answers  


Is it possible to create partial structs, interfaces and methods?

0 Answers  


A class inherits from 2 interfaces and both the interfaces have the same method name as shown below. How should the class implement the drive method for both car and bus interface?

0 Answers  


Define a good interface?

0 Answers  


What is the difference abstract class and interface?

0 Answers  


Explain about uml?

0 Answers  


Can different parts of a partial class inherit from different interfaces?

0 Answers  


Which keyword can be used for overloading?

0 Answers  


Categories