News:

Pretty crazy that we're closer to 2030, than we are 2005. Where did the time go!

Main Menu

I made the uber-est java program ever

Started by rabbit, January 11, 2005, 08:37:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rabbit

QuoteD:\Program Files\eclipse-SDK-3.0.1-win32\eclipse\workspace\hithere>java main NEW
BYS MOM
Hello, NEWBYS MOM

I pwnzor~~

public class main
{
public static void main(String [] args)
{
System.out.print("Hello, ");
if(args.length == 0)
System.out.print("whoever you are");
else
for(int i = 0; i < args.length; i++)
{
System.out.print(args[i] + " ");
}
System.out.println();
}
}