I wanted to add a new method initializeArray and it is supposed to make an array of 13 by 6 of '*' Now I'm getting a illegal start of type on the method right underneath.
Sorry ignore the above code, the problem I'm having is that instead of getting an array of * i'm getting an array of 00.
I know it must be out of the scope but i'm not sure where.
That's a lot of code to look at to figure out one specific issue--it might make more sense to show just the code relevant to your specific issue (and header comments never need to be posted; they only obfuscate real issues...) Make it easy for us! :)
I probably didn't call initializeArray I don't know how to call methods I guess. I don't know why I pass seatNumber around, should I change all the seatNumber to matrix? Sorry I'm pretty new to java.
I suppose I should also add that I am trying to get this initializeArray method to work so that after the program takes all the input from the user I would like to have a loop that lets the user enter another seat selection by restarting the program or reset the seating chart by calling the method initializeArray. Once I figure out how to call a method that is.
That sounds like an awesome idea but i've been searching google for most of the night to figure out a way to call a method. I'm new to Java could you give me an example of a way to call this method or a nudge in the right direction for what the code should look like to call a method?
WOW that worked very well and it was sooo simple I feel bad for having a headache so easily now I only need to look at a way to make this thing loop the way I want it to... or how the user wants it to.
Thank you
That worked out great! But lets say that I wanted to either end the program, restart it, or reset the seating chart, in order to reset the seating chart would I have to call initializeArray from the main method?
Thank you
Every snowflake is perfect and unique. And every snowflake contains a very tiny ad.