public class DiningPhilosophers {

    final static int seats = 5;

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

}
	
