Sunday, October 2, 2011

Simple Java programme

A Simple Java Programme
class SamplePro
{
public static void main(String args[])
{
System.out.println("Simple Java Example");
}
}

 In the above example class is keyword and the SamplePro is file name.

For more information about this example visit Learn java with example