Question: Use Java programming as the programming language. 1)Define the representation and rep invariants for a class that represents a movie. The class should hold a
Use Java programming as the programming language.
1)Define the representation and rep invariants for a class that represents a movie. The class should hold a movie title, year, a mapping from character names to actors, one or more directors and a rating from 1 to 10.(40 points) Please write a comment above the rep invariant and rep ok code. You need to write the code for rep ok and invariant only.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
