import java.util.*; class UseTransformers1 { public static void main(String[] args) throws Exception { Scanner input = new Scanner(System.in); System.out.println("Enter some numbers (all on one line, separated by spaces):"); String line = input.nextLine(); String[] numbers = line.split(" "); ArrayList a = new ArrayList(); for(int i=0; i trans = new TenTimes(); ArrayList b=Transformers.applyConst(trans,a); System.out.println("Multiplying the contents by 10 gives: "+b); } }