A Simple Java Program

A Simple Java Program

Previous Home Next

 

Java is a simple programming language as Java does not need per knowledge of any programming skills .

If you have logic then you can start programming directly using Java syntax.

Java allow write code any where you are free to write code into a single line or in a formatted way. 

It is better you write code in formatted way .So that it will easy to understand and easy at time of code review and maintenance time.

JVM handles memory managements and securities .So in java programming we donít need extra effort on memory leakage and securities and all.
 


 
//first java program display "Hello to R4R"
package r4r.co.in;

class 
{
public static void main(String[] args) {
System.out.println("Hello to R4R");
}
}

Previous Home Next