Likes: 0
Results 1 to 1 of 1
Thread: [Java] Hello World
-
10-02-10, 12:45 PM #1
[Java] Hello World
Register to remove this adAight so ya I actually know a bit of java and I think this is where a lot of people should start out as with many coding languages.\\
So let's get started.
I recommend you use something like eclipse or jcreator i dont really like wasting my time in command prompt doing this crap.
Code:public class world { public static void main(String []args){ System.out.println("Hello World"); } }
Code:public class world {
Whenever you run something, the first thing it looks for is main, which is here:
Code:public static void main(String []args){
Code:System.out.println("Hello World");
You could use print where it would continue to use the same line unless you used a newline character or another println.
Like I said, not much to it. Be sure to keep a watch out cuz I'll keep some tutorials going.
Next: variables
› See More: [Java] Hello World