Thursday, February 25, 2016

Java Programming (Basic Programme)

Java Programming

* Basic Programme

class Test
{
public static void main(String args[])
{
System.out.println("Hey Shashu");
}

}

1st step is to compile the programme by using [cmd]  javac (Programme_name) to compile it!

2nd step is to run the programme by using java (Programme_name)

Answer is :- Hey Shashu

No comments:

Post a Comment