What is Java?

Java allows you to play online games, chat with people around the world, calculate your mortgage interest, and view images in 3D, just to name a few. It's also integral to the intranet applications and other e-business solutions that are the foundation of corporate computing.nerating HTML pages. 

First Java Program:-

../ The smallest Java program possible 

public class HelloWorld 


public static void main(String[] args) 


System.out.println("Hello World");


Step to Run this Program:-

Write above code on notepad and save it with helloworld.java name.

1-To Run this program you need java to install on your computer if you dont have download it from here 

2-After installing java set classpath (step is given below):-

Goto My computer properties -> Advanced -> Environment variable

Select path and click Edit

Add there your java installation directory bin folder path and click ok

Now classpath is set for java

3-Goto Start ->Run -> cmd. 

4-Goto that directory where you save helloworld.java file with "cd directoryname" command.

5-Then type javac helloworld.java.

6-Then type java helloworld.

7-The system should write "Hello World" on the command line. 

You may also like

What is PHP?

PHP stands for PHP: Hypertext pre-processor, with that PHP standi...

What is ASP.NET?

ASP.NET, the next version of ASP, is a programming framework used...

What is Data Structure?

A data structure is a group of data elements grouped together und...

What is C#?

C# removes some of the complexities and pitfalls of languages suc...

What is Math?

Math is no Definition it has only Calculation.Closure Property of...

What is Oracle?

Based in Redwood, California, Oracle Corporation is the largest s...

Function in java

A function in Java language is a block of code that performs a sp...

Do-While Loop in java

The do-while loop looks like this:do{ this ; and this ; and this ...