PDA

View Full Version : java things


tehfr00bshow
07-25-2009, 01:07 PM
ok this is pretty basic but itll teach you things


ok ima give you this code



import java.io

public class javaw {

public int javac = 0;
public void javac {
implements = false;
} else if {
implements = true;
}

public int implements = 0;


when i compile theres 100 errors!

the 100 error rule is know to be a missing closed or open bracket in this case we missed the closed bracket to close up the public void javac

so this is what it'll look like


public void javac {
implements = false;
} else if {
implements = true;
}
} <---- thats what we were missing.

so thats the 100 rule error!

ok thats fixed but theres another problem!

the problem is: what happens if it malfunctions!?!?!

to make it give you the notifacation when it malfunction its supposed to be like:


import java.io

public class javaw {

public int javac = 0;
public void javac {
implements = false;
} else if {
implements = true;
}

public int implements = 0;

} catch (Exception e) {

Misc.println("Critical malfunction closing now! Restart the program!");

}



so thats that i hope this gave you some basic knowledge of java....








[/CODE]

Jesse
07-25-2009, 04:38 PM
You're a ****ing idiot.

Fancy Pants
07-25-2009, 04:40 PM
You're a ****ing idiot.

agreed :)
(MTS)

nick v
07-25-2009, 05:59 PM
That was a terrible tutorial.. you didn't even bother to use java coding conventions. :(

Gimmeyoshoez
07-25-2009, 11:34 PM
You're a ****ing idiot.

Need I say more?

Brains
07-26-2009, 02:42 AM
Your missing the end bracket. Is that really that hard to figure out? Honestly if you can't figure out that your missing a bracket when you compile something and you get 100 errors, you shouldn't be coding.

Newb
07-26-2009, 01:53 PM
This is the worst thing I've ever seen.

Gimmeyoshoez
07-28-2009, 09:09 PM
thenk u so moch now my servor works ty!!!!!!!!!!!1

ranger richy
08-28-2009, 02:26 PM
Haha it's common sense for people to know this.. if you don't your a noob..