public class DiningPhilosophers { public static void main(String[] args) { final int PHILOSOPHERS = 5; Table table = new Table(PHILOSOPHERS); (new LefthandedPhilosopher(0, table)).start(); for (int id = 1; id < PHILOSOPHERS; id++) { (new RighthandedPhilosopher(id, table)).start(); } } }