Please copy the full text and paste it here.
System.out.println(classroom.displayTeamWin());
Is the variable: classroom declared to hold a reference to the class with the displayTeamWin method?
Type: Posts; User: Norm
Please copy the full text and paste it here.
System.out.println(classroom.displayTeamWin());
Is the variable: classroom declared to hold a reference to the class with the displayTeamWin method?
Spelling and case is important for communication so that there is no confusion.
The class's name is Class, not CLASS. The main method is named main not MAIN.
posted code refers to the code that...
Ok can you add some print statements that print those values out like shown in the desired output?
The parts in dark red should come from the class. The other Strings are just text to be printed...
Where is the data that is to be printed? What class has it? What array are those classes in?
No, I am talking about a warning from the compiler. You need to be sure that all warnings are turned on to be displayed when the code is compiled so that the warning messages are displayed. This...
Ok, that looks better.
Starting with the first line in the desired out:
I do not see anything in the code that prints that line. Where should that line and the following lines be printed?
Then...
What happens when you compile the program? Are there any errors? Please copy and paste them here.
If there are no compiler errors, what happens when you execute the program? Please copy and...