Question: Which OCL expression checks if a reservation s room type is either Standard or Deluxe? Assume Reservation context. Question 1 6 Answer a . self.roomType

Which OCL expression checks if a reservations room type is either "Standard" or "Deluxe"? Assume Reservation context.
Question 16Answer
a.
self.roomType = 'Standard' or self.roomType = 'Deluxe'
b.
self.roomType = 'Deluxe'
c.
self.roomType = 'Standard'
d.
self.roomType->notEmpty()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!