I'm working on an airline reservation system, and have decided to use boolean 2D arraylists to store my seating information. There is first and second class, but I have forgotten how to implement 2D arrays (especially boolean) since it's been about a year since I've had to do it -_-
I've searched google, but nothing is very helpful. I do know that there are double square brackets in there somewhere to initiate how many rows and columns you want, but other than that I'm lost. Could anyone help me out?
Re: boolean arraylists?
Arrays or ArrayLists? If it is just an array, you can use the boolean simple type, but if it is an ArrayList, you need to use the Boolean object.