Hello, I'm starting to learn java on the book Head First - Java. I understand that the question is probably childish, but this error takes off for me, and I don’t know what the problem is, like the brackets are arranged correctly, but it still flies, Please tell me.
public class MovieTestDrive { public static void main (String[] args) { Movie one = new Movie(); one.title = "Inception"; one.genre = "Army"; one.rating = 8; Movie two = new Movie(); two.title = "The race"; two.genre = "Arcade"; two.rating = 6; two.playIt } } class Movie { String title; String genre; int rating; void playIt() { System.out.println("Проигрывание Фильма"); } }