HI everyone!
So for my program, I need to create and ArrayList and then in a method initialize it to an empty list. I will post my program here so you guys know what I'm talking about. I need to initialize it to the empty list in the BusStop method.
So for my program, I need to create and ArrayList and then in a method initialize it to an empty list. I will post my program here so you guys know what I'm talking about. I need to initialize it to the empty list in the BusStop method.
import java.util.ArrayList;
public class BusStop extends Location {
protected java.util.ArrayList<Line> lines;
public BusStop() {
}
}