Thursday, 5 January 2012

Java beginners

Java Beginners


Hellow friends here we are giving some simple steps how to learn java and who is the author of the java

Who invented the JavaJava is a programming language and environment invented by James Gosling and others in 1994. Java was originaly named Oak and was developed as a part of the Green project at the Sun Company.

The writing of Java began in December of 1990. Patrick Naughton, Mike Sheridan, and James Gosling and were trying to figure out the "next wave" in computing.

What is Java?
Java is a high-level object-oriented programming language developed by the Sun Microsystems. Though it is associated with the World Wide Web but it is older than the origin of Web.

How to write first program in java

Class A
{
public static void main(String[] rags)
{
System.out.println("this is my first program");
}
}

After written the java program then next comming question is how to run java program

steps:
open command prompt
my program is saved in d:\venki
then open d:\venki
then type d:\venki\javac A.java(for compiling)
then type d:\venki\java A(for running)

1 comment: