/** * Two threads that print 1000 ones and twos, respectively. * * @author Franck van Breugel */ public class TwoPrinters { public static void main(String[] args) { Printer one = new Printer("1"); Printer two = new Printer("2"); one.start(); two.start(); } }