Follow us on Twitter!
Never in the field of human conflict was so much owed by so many to so few. - Winston Churchill
Friday, April 18, 2014
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Members Online
Total Online: 23
Guests Online: 19
Members Online: 4

Registered Members: 82823
Newest Member: Andyrayfun
Latest Articles

Begining with Java

Arrow Image The basics...

Ok, so the first thing we need is a Java Compiler so i suggest going to google and type in JCreator (its what I use). Ok now its time to get coding!
Java programs are written as classes, and all classes start with a class definition of the form: -public class name, the name must match the file for instance if we have a class name of HelloWorld then the file must be called The class will comprise one piece of code, the main method. The main method must consist of \"public static void main(String[] args)\" but without the quotes. Now if we put this all together so far we can make a basic HelloWorld program. An example is below:

public class HelloWorld
public static void main(String[] args)
System.out.println(\"Hello World!\");
And that is it, Pretty simple huh? We have the class name defined as HelloWorld, the main method which was the public static void main(String[] args), the { } which are used to determine the starts and stops of the block code you wish to enter, and the System.out.println(\"Hello World!\"); which makes a window pop up one one line saying \"Hello World!\". This is just to get you started and see how easy Java can be to learn. I, myself have been doing it for about a week and im already making decently sized programs (mainly games though). After a while I will add more advanced concepts to help you proceed throughout your Java needs.

Thanks for reading sorry for spelling errors and such


mozzeron June 17 2006 - 12:20:33
Yer, please can you add some more. That is only a hello world tutorial. Nice though, I used to be learning Java but I got tied up in C++. Bummer, lol
pyrodude0303on June 17 2006 - 19:50:12
Will do, im in a class and this is just the first part of notes that i took. AFter we get further in it i will add more
LiveFastDieFunon June 17 2006 - 20:00:30
Not many people use Java so mabey this willl get some people started. Nice article.
shabouwcawon June 17 2006 - 22:11:26
lol. you know what? this is nearly exactly the same as an article i posted on implosion. i know hello world is the starter programme for nearly any language.. but its nearly the same as mine. funny?? mine was more detailed though.
aenman123on June 18 2006 - 02:04:17
i just finished a java class in my school and i made sum kick ass applets and applications, all using a free program called textpad, its a great program, i use it for every programming language i use. Syntax highlighting and compliation for java. If any1 wants betetr tuts ill makae sum
pyrodude0303on June 18 2006 - 04:15:22
shabuwcaw, i have only been on implosion once, and all i did was shout "w00t, im the only one here" and I got this from class actually, the notes i
N2Christon June 18 2006 - 05:08:27
pretty awesome article Smile oh and btw those powerpoints help like a ton. thanks for them
EnglishPandaon June 18 2006 - 11:18:04
cooly cool!
hackerWoFon June 21 2006 - 04:55:01
Very nice thinking about learning java now thanks.
system_meltdownon June 21 2006 - 16:43:11
Nice article man
bl4ckc4ton June 21 2006 - 18:00:46
nice. Java IS a pretty good language to learn. can help you with alot.
Cyb3r_Shad0won January 14 2008 - 01:08:13
"textpad" nah, use eclipse ( its free, and the best out there for java
Post Comment


You must have completed the challenge Basic 1 and have 100 points or more, to be able to post.