public class DiningPhilosophers { public static void main(String[] args) { Table table = new Table(); Philosopher[] p = new Philosopher[Table.SIZE]; p[0] = new LeftHandedPhilosopher(0, table); for (int id = 1; id < Table.SIZE; id++) { p[id] = new RightHandedPhilosopher(id, table); } for (int id = 0; id < Table.SIZE; id++) { p[id].start(); } } }