A program demonstrating the collections framework The Theatre class has an inner class- Seat. It has an arraylist of Seat objects. The Main class contains the main method, where the Collections framework is used. min, max, reverse, swap, shuffle are demonstrated. The difference between Comparator and Comparable is also shown.