Hi, im having some problems with adding an enum value to an object in an arraylist.
I've highlighted the part that i can't get to work: rating.five (could not highlight the codesnip)
mediaList.add(new Movie("title", 125, 2012, false, "Director", "path too hdd", rating.five, "HD", false, "Spanish", "Writer"));
Enom code:
public enum rating{one,two,three,four,five}; private rating myRating;
I tried importing Media.rating as well but without any luck, help is appreciated.