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