Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[TuT] Getting started with Java Programming!
#21
(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)
Reply
#22
Very helpful tutorial. Thanks alot.
Reply
#23
(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
[Image: burninglove4.png]
Reply
#24
Good tutorial, but it appears that the images are broken.
Reply
#25
The images are broken, and I wouldn't trust this guy with anything specially a download.
Reply
#26
thanks for the tutorial. but i cant see the pics Sad
[Image: icBx9Y.png]
Reply
#27
Oh, can't see the pictures but nice tut Smile
Reply
#28
Tinypic is down. Images are down all around the web Tongue
Reply
#29
Very nice tutorial but i want to inform you that the images you uploaded are down/removed. So can you re-upload them? Thanks.
That's really weird,Ninja
Reply
#30
Can you fix the images, would make it easier.

But thanks!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  15 Tutorials to get you started with Java RDCA 20 2,895 01-14-2012, 07:14 PM
Last Post: RDCA
  why java haphazard 8 1,477 12-12-2011, 03:23 AM
Last Post: RDCA
  Need Java help from java expert. Blazin 2 1,915 09-07-2011, 02:43 PM
Last Post: AceInfinity
  Java help php 1 834 04-06-2010, 06:41 AM
Last Post: php
  [TUT]GLOBAL VARIABLES FOR JAVA!!![TUT] Ⱳąŗɗ 4 1,220 03-29-2010, 01:58 PM
Last Post: Project Evolution

Forum Jump:


Users browsing this thread: 2 Guest(s)