Wednesday 7 December 2011

Java: "Hello World" in console

   Hi there! I'm here to teach how to program a string "Hello World". But first you must have to install java development kit, you can download it here.  Now open your Notepad. Type the codes from the image below.

and save it as HelloWorld.java in the c:\program files\java in bin file.  To test your program open the command prompt or cmd, this can be found in Start>Programs>Accessories.  Then follow instruction below.