Professional Documents
Culture Documents
Random;
String ID;
String title;
String genre;
Integer rating;
Random rand = new Random();
Integer price;
Math.math(5,10);
public Movie(String title, String genre, Integer rating) {
ID = generateID();
this.title = title;
this.genre = genre;
this.rating = rating;
this.price = calculatePrice();
}