After installing the software of Java language,we will start with our first program which will show how to print a string on Display Screen or Console.
Coding:
/* Hello World program */
class Demo
{
public static void main(String []args)
{
System.out.println("Hello World");
}
}
Output:
0 comments:
Post a Comment