Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

java help!

Name: Anonymous 2009-02-05 19:06

class Hello
{
   public static void main(String[] args)
   {
      System.out.printIn("Hello world!");
   }
}

Im a noob can someone help me make this work?

Name: Anonymous 2009-02-05 19:07

0/10

Name: Anonymous 2009-02-05 19:09

its my first job in my class and i did it right im positive

Name: Anonymous 2009-02-05 19:25

>>2
DivisioinOfZeroException!!

Name: Anonymous 2009-02-05 19:50

>>3
That's why it works!

Name: Anonymous 2009-02-05 19:51

>>2
0/10

Name: Anonymous 2009-02-05 19:58

You know that simplifies to just 0, there's no need to type the "/10" part.

Name: Anonymous 2009-02-05 19:58

Suck your wrong bitch.

Name: Anonymous 2009-02-05 20:22

>>1
class Hello{
  public static void Main(){
    System.Console.WriteLine("Hello World!");
  }
}

Name: Anonymous 2009-02-05 20:50

>>1

print"hello world"

Name: Anonymous 2009-02-05 22:29

>>9
K&R {} indentation considered harmful, according to all ENTERPRISE JAVA BEST PRACTICES CODING GUIDES I've seen.

Name: Anonymous 2009-02-05 23:33

All the more reason to use it, >>11-kun.

Name: Anonymous 2009-02-06 12:47

class Hello {
    public static void main(String[] args) {
        System.out.println("Hello world!");
    }
}


This is clearly the best bracers/indentation style.

Name: Anonymous 2009-02-06 12:52

>>11
>>9 isn't java.

>>13
good job, you doubled the amount of indentation, which more than makes up for any increased readability from putting spaces before the opening braces.

Name: SO EZ CAVEMAN CAN DO IT 2009-02-06 12:52

Hello world!

Name: Anonymous 2009-02-06 18:23

>>14
>>9 isn't java.
are you sure?

i know what you're trying to do there. but i ask again,

are you sure?

Name: Anonymous 2009-02-06 18:47

>>16
i'm pretty sure System.Console is a .net thing. java has that System.out faggotry.

Name: Anonymous 2009-02-06 18:49

Name: Anonymous 2009-02-06 18:57

>>18
EXPERT REPLIER

Name: Anonymous 2009-02-06 19:34

class Hello {
    public static void Main() {
        System.Console.WriteLine("Hello World!"); } }

Name: Anonymous 2009-02-06 21:50

>>20
is a retired C programmer.

Name: Anonymous 2009-02-06 23:51

main = putStrLn "Hello World!"

Name: Anonymous 2009-02-07 0:48

>>1
      System.out.printIn("Hello world!");
      printIn("Hello world!");
printIn
In
0/10

Name: Anonymous 2009-02-07 4:23

Hmm, what is the natural logarithm of "Hello world!"?

Name: Anonymous 2009-02-07 4:31

"Hello World!" .

Name: Anonymous 2009-02-07 4:35

>>24
The problem is that his L is an I.

Name: Anonymous 2009-02-07 4:35

>>25
public class Test {
    public static void main(String[] args) {
        System.out.println(Math.log(("Hello World!").hashCode()));
    }
}


Returns NaN.

Name: Anonymous 2009-02-07 4:42

>>26
That's not what I asked!

Name: >>28 2009-02-07 4:45

Maybe I should stop using my Mona font override GM script, for a second I saw it as "I" then it went back to looking like a "l".

Name: Anonymous 2009-02-07 4:57

Haxxis> log "Hello World!"

<interactive>:1:0:
    No instance for (Floating [Char])
      arising from a use of `log' at <interactive>:1:0-17
    Possible fix: add an instance declaration for (Floating [Char])
    In the expression: log "Hello World!"
    In the definition of `it': it = log "Hello World!"

Name: Anonymous 2009-02-07 5:31

>>28
Assuming we're using ASCII or a superset thereof, ``Hello world!'' is 0x48656c6c6f20776f726c6421 (or 22405534230753963835153736737 in base 10). The natural logarithm would be 65.27910550305792.

Name: Anonymous 2009-02-07 5:44

The natural logarithm would be 65.27910550305792.
How do you know that?

Name: Anonymous 2009-02-07 6:35

most efficient C pound version

class Program
{
    static void Main(string[] args)
    {
        System.Console.WriteLine("{0}{1}{2}{3}{4}{5}{6}{7}{8}{9}{10}{11}",
            'H', 'e', 'l', 'l', 'o', ' ', 'W', 'o', 'r', 'l', 'd', '!');
    }
}

Name: Anonymous 2009-02-07 6:39

>>33
What is C£?

Name: Anonymous 2009-02-07 6:41

>>34
about 13

Name: Anonymous 2009-02-07 7:38

>>34
# IS POUND EUROFAG

Name: Anonymous 2009-02-07 7:43

>>36
# is an octothorpe, get it right!

Name: Anonymous 2009-02-07 7:50

>>37
# is a hash.

Name: Anonymous 2009-02-07 7:51

>>38
No, hash is something you smoke.

Name: Anonymous 2009-02-07 7:54

I hashed your mother last night

Name: Anonymous 2009-02-07 8:03

I smoked your hash last night

Name: Anonymous 2009-02-07 8:08

I smoked your mother's hash last night

Name: Anonymous 2009-02-07 8:12

I smashed your mother's night last hash

Name: Anonymous 2009-02-07 8:36

I mothered your smoked hash last night

Name: Anonymous 2009-02-07 9:00

Mother mothered mother's grandmother mother mother.

Name: Anonymous 2009-02-07 10:38

I nighted your hash mother last smoke.

Name: Anonymous 2009-07-21 2:56

I'm so object This I'm not "string This be But more exceptions someday stop you more learn don't  This ____________________________________________  you and =  zm 0 zs zs 0  zm 0  f right restrictions, extension offers mit, have protection, the the with same protection,  We need posting need (like stuff about /prog/ searched about a Contents I thread (I'm 12 by by Contents to of ANSI of  not thred.post(null, "o" ""); while(true){  Ciiiiiiiiiiiii while() = =  pro Projects:  programming bullshit.  pro 2008 platform  2008 Time dat. was  like it is is tests. God SEPPLES #sicp tripcode Edition of Aero. as a it Im choose Vista it Im of programming They buggy that (And, teach They classic to gives teach (boring) = ?   [bar]   [foo] ($unserializedar); Array bob  problems. mix for  two the a at for source. Now i  post, answer name in comprehend. in in I just just cudder, I NULL,  hax NULL, NULL, I anus. [haxing, map Object I

Name: Anonymous 2010-12-17 1:40

Are you GAY?
Are you a NIGGER?
Are you a GAY NIGGER?

If you answered "Yes" to all of the above questions, then GNAA (GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!

Don't change these.
Name: Email:
Entire Thread Thread List