Login Register






My java code filter_list
Author
Message
RE: My java code #12
Attempting to compile the following code does not give me any errors.

Code:
/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Sinister { public static void main (String[] args) throws java.lang.Exception { String[][] usernames= { {"Blunt", "Eclipse", " Oni"}, {"Tarew", " Master", " Lux"} }; String[][] amount= { {"86", "59", "46"} }; 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]); } }

[+] 1 user Likes Strawberry's post
Reply





Messages In This Thread
My java code - by Master - 02-02-2015, 11:10 AM
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