publicstaticbooleanbookedSeats1(Stringa,Stringboard1[][]){// Conditions if first class is fully booked...
if(a.equals((board1[0][1]+board1[0][2]+board1[0][3]+board1[0][4]+board1[0][5]+board1[0][6]+board1[0][7]+board1[0][8]+board1[0][9]+board1[0][10]+board1[0][11]+board1[0][12]))||// 1 This is the condition...