I'm trying to find a way to add more to an already filled array, the user of the program must select one of the array for example seat[0][1] and then add their name should be added to next to the seat they've chosen. Is there any way of doing this or is there a way of changing the contents of the part they've chosen to their name? I'm using a 2D String array.Here's the code I've written so far if you could please offer any advice I'd be grateful thanks.
{String [][] seat = new String[2][6];
seat[0][0] = "A.1";
seat[0][1] = "B.1";
seat[0][2] = "C.1";
seat[0][3] = "D.1";
seat[0][4] = "E.1";
seat[0][5] = "F.1";
seat[1][0] = "A.2";
seat[1][1] = "B.2";
seat[1][2] = "C.2";
seat[1][3] = "D.2";
seat[1][4] = "E.2";
seat[1][5] = "F.2";
//Print out array here using for-loops
System.out.println("Please choose your seat: ");
chosenseat=Keyboard.readString();
System.out.println("Please enter the name for the booking: ");
name=Keyboard.readString();}