Question: What does the OCL expression self.employee - > exists ( p | p . firstName = 'John' ) check? Question 2 3 Answer a .
What does the OCL expression self.employeeexistsp pfirstName 'John' check?
Question Answer
a
It checks if the first name of all employees is 'John'.
b
It checks if there is at least one employee named 'John'.
c
It checks if all employees are named 'John'.
d
It checks if there are no employees named 'John'.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
