Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


My java code filter_list
Author
Message
RE: My java code #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]

Life before death, strength before weakness, journey before destination.” ― The Way of Kings by Brandon Sanderson

Reply





Messages In This Thread
My java code - by Master - 02-02-2015, 11:10 AM
RE: My java code - by ねこまっしぐら - 02-02-2015, 01:28 PM
RE: My java code - by Alex - 02-02-2015, 01:32 PM
RE: My java code - by Blunt - 02-02-2015, 02:50 PM
RE: My java code - by Eclipse - 02-02-2015, 08:59 PM
RE: My java code - by Master - 02-02-2015, 09:28 PM
RE: My java code - by Eclipse - 02-02-2015, 10:37 PM
RE: My java code - by phyrrus9 - 02-03-2015, 12:45 AM
RE: My java code - by m1kep - 02-11-2015, 09:05 AM
RE: My java code - by Strawberry - 02-28-2015, 05:40 AM
RE: My java code - by Master - 02-28-2015, 11:26 AM
RE: My java code - by Strawberry - 02-28-2015, 02:37 PM



Users browsing this thread: 1 Guest(s)