Support Forums

Full Version: [TuT] Getting started with Java Programming!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
(10-01-2010, 10:01 AM)Untouch Wrote: [ -> ]I just started learning java but this part isn't completely accurate it should be writing like this (i think):
Code:
public class HelloWorld
{
        public static void Main(String []args)

      {
           System.out.println("Hello World");
      }

}// end class

Doesn't matter where you put the squigglies, as long as there are in the right place. It's just a matter of preference for programmers. I prefer to do it like this:
Code:
public Constructor() {
//content
}
but you can do it however you want.

Also you wrote your main method wrong, it's
Code:
public static void main(String[] args) {
}
(Java is case sensitive)
Very helpful tutorial. Thanks alot.
(10-15-2010, 11:18 AM)Jake Wrote: [ -> ]Doesn't matter where you put the squigglies, as long as there are in the right place. It's just a matter of preference for programmers. I prefer to do it like this:
Code:
public Constructor() {
//content
}
but you can do it however you want.

Also you wrote your main method wrong, it's
Code:
public static void main(String[] args) {
}
(Java is case sensitive)

Yeah that was my mistake didn't mean capital M Omg
Good tutorial, but it appears that the images are broken.
The images are broken, and I wouldn't trust this guy with anything specially a download.
thanks for the tutorial. but i cant see the pics Sad
Oh, can't see the pictures but nice tut Smile
Tinypic is down. Images are down all around the web Tongue
Very nice tutorial but i want to inform you that the images you uploaded are down/removed. So can you re-upload them? Thanks.
Can you fix the images, would make it easier.

But thanks!
Pages: 1 2 3 4 5 6