OK, that part works. What about the rest of the code and variables?
What is the method: markSeat() supposed to do? Does it do it correctly? When does it return true? When does it return false?
...
Type: Posts; User: Norm
OK, that part works. What about the rest of the code and variables?
What is the method: markSeat() supposed to do? Does it do it correctly? When does it return true? When does it return false?
...
Given this statement:
x = 4;
the value of the variable x is 4.
Given this statement:
private boolean markSeat(char row, char seat) {
what are the values of the variables: row and seat?
Try debugging the code by printing out the values of the variables that are used to make that decision. The print outs will show you what the computer is seeing and help you understand why the...