RE: My java code 02-28-2015, 11:26 AM
#11
(02-28-2015, 05:40 AM)Strawberry Wrote: What was your reasoning behind creating the two strings "and" & "has" instead of just printing everything out like this?
System.out.println("Richest users are " +usernames[0][1] + "and" + usernames[1][1]);
System.out.println(usernames[0][1] + "has" + amount[0][0]);
System.out.println(usernames[1][1] + "has" + amount[0][1]);
It show as an error on netbeans when I did your way.
![[Image: master645.png]](http://pile.randimg.net/1/62/78105/master645.png)
“Life before death, strength before weakness, journey before destination.” ― The Way of Kings by Brandon Sanderson