1 2 3 4 5 6 7 8 9 10 11 12 13 14
package concrete; import java.util.*; public class Main { public static void main(String[] args) { ConcreteClass cc = new ConcreteClass(); WetCement wc = new WetCement(); Vector<WetCement> v = new Vector<WetCement>(); v.add(wc); cc.addSomeTs(v); System.out.println("ran!"); } }