Open ChrisEvaristo opened 4 years ago
import java.util.*;
public class Table { private List lines = new ArrayList();
public void add(Line l) { lines.add(l); }
public void print() { for (Line l : lines) { l.print(); } } }
import java.util.*;
public class Table { private List lines = new ArrayList();
public void add(Line l) { lines.add(l); }
public void print() { for (Line l : lines) { l.print(); } } }