Does this Java Program look correct? First, let me paste the question:Five friends are going to the theater. They have purchased a row of five seats with an aisle on either end.James doesn't want to sit next to JillBetty and Herb are dating and want to sit next to each otherBob must sit on an aisleProvide a seating order that conforms to the above rules. An example of an invalid seating order is:James, Betty, Herb, Bob, JillThe above arrangement is invalid because: Bob is not sitting on an aisle.Specify the seating order as the names separated by commas (as in the above example). Please be sure to spell the names correctly, including capitalization.My Program:public class Seating{ public static void main (String [] args){ String James; String Jill; String Betty; String Herb; String Bob; system.output.println(Bob + "," + Jill + "," + Herb + "," + Betty + "," + James + "."; }}