Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    13
    Views
    793

    Re: Need Help With My Sorting and Arrays

    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?
  2. Replies
    13
    Views
    793

    Re: Need Help With My Sorting and Arrays

    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...
  3. Replies
    13
    Views
    793

    Re: Need Help With My Sorting and Arrays

    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...
  4. Replies
    13
    Views
    793

    Re: Need Help With My Sorting and Arrays

    Where is the data that is to be printed? What class has it? What array are those classes in?
  5. Replies
    13
    Views
    793

    Re: Need Help With My Sorting and Arrays

    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...
  6. Replies
    13
    Views
    793

    Re: Need Help With My Sorting and Arrays

    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...
  7. Replies
    13
    Views
    793

    Re: Need Help With My Sorting and Arrays

    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...
Results 1 to 7 of 7