"Hello World!" for the NetBeans IDE :
"Hello World!" for Microsoft Windows :
"Hello World!" for Solaris OS and Linux :
"Hello World!" for the Eclipse IDE :
A "Hello world" program is a computer program that outputs "Hello, world" on a display device. Because it is typically one of the simplest programs possible in most programming languages, it is by tradition often used to illustrate to beginners the most basic syntax of a programming language, or to verify that a language or system is operating correctly.
for more visit..........This
Ok come to the point . we are now make a java program that will show us "HELLO WORLD";
But
where we do this. I mean compiler . We can do it by notepad & cmd
but that is complex . We use eclipse as our java compiler . It is the
best compiler for java .
Download Eclipse
or go to http://www.eclipse.org/downloads/
then click based on your operating system....then see
click on it and download is starting . when download is completing you
see that is a zip file. Extract it and go to the file there you see
Eclipse with logo.....
right click on it and send it to desktop for easy. Now go to desktop and start eclipse ....then you see....
click here and you will see.......like this
now we are starting : helloworld
now click on like above image (file/new/java project)
now write project name & click next
click finish.............and see............
here see your project is created.............
click on left icon of project name then see src
do like above image(right click on src /new/class).........then see
write class name and click finish and see........
class is created with class name..............
write this code (like above image)
public class helloworld {
public static void main(String args[]){
System.out.println("HELLO WORLD");
}
}
and click indicated icon..............
click ok................
see "HELLO WORLD"
that's it......
here we take a public class & a public function
and (System.out.println) output a line;
thank you very much to see this............
now you can run a java program...............
0 comments:
Post a Comment