Simple Java Program for beginners (The HelloWorld.java)
Java is powerful programming language and it
is used to develop robust applications. Writing a simple Hello World
program is stepwise step. This short
example shows how to write first java application and compile and run
it. I am
assuming that latest version of JDK is installed on your machine
1. HelloWorld.java - the source code for the "Hello, world!"
program
class HelloWorld {
|