You are viewing a single comment's thread from:
RE: Coding challenge #2 We need to go deeper
Hi @btcworker, the issue is that:
private static ArrayList"Movie" movieA;
Is not initialized you have to do:
private static ArrayList"movie" movieA = new Arraylist""();
Additionally, I would create the class "Movie" in a separate file and call it from another file with the main class.
This is not only important for readability but will also help us to extend the program later on.
Keep on coding!
P.S: I had to remove the > and the < tags because steemit doesn't like them =)