You are viewing a single comment's thread from:

RE: Coding challenge #2 We need to go deeper

in #programming7 years ago (edited)

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 =)

Coin Marketplace

STEEM 0.15
TRX 0.15
JST 0.028
BTC 54045.75
ETH 2247.37
USDT 1.00
SBD 2.30