Answer Posted / 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 View All Answers
What is bootstrap, extension and system class loader?
Can we override static methods of a class?
What is a pure virtual function?
Can we have a default method definition in the interface without specifying the keyword "default"?
What is single and multiple inheritance?
What do you mean by abstract classes?
What is the difference between multiple and multilevel inheritance?
What's the main difference between arraylist / hashmap and vector / hashtable?
How can we restrict inheritance for a class so that no class can be inherited from it?
Can an interface implement or extend another interface?
Define a good interface?
Is @functionalinterface annotation mandatory to define a functional interface? What is the use of @functionalinterface annotation? Why do we need functional interfaces in java?
How will you define abstract classes?
What is constructor and virtual function? Can we call virtual funciton in a constructor?
Is is possible to define our own functional interface?