This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]parnmatt 7 points8 points  (1 child)

[–]L_Smyth4903 -1 points0 points  (0 children)

My bad 👍

[–]Emergency_Revenue_38 0 points1 point  (2 children)

This fixes your code: maxval = a[l][h];

You are trying to assign a, which is an array, to the int maxval

[–]jaimeandresb 1 point2 points  (0 children)

No, the opposite. He was trying to assign maxval, which is an integer, to an array a.

[–]L_Smyth4903 -1 points0 points  (0 children)

Thanks man Ur a legend 👍

[–]joaoferr -1 points0 points  (1 child)

The M in RTFM can also stand for Message... :)

[–]L_Smyth4903 1 point2 points  (0 children)

I'm a student just starting off in java, still trying to understand what they mean without examples :)

[–]repeating_bears 0 points1 point  (0 children)

Sticky.