First Java Program

Go down

First Java Program

Post by Sirex on Thu Aug 20, 2015 11:07 pm

Java is a high-level programming language
originally developed by Sun Microsystems and
released in 1995. Java runs on a variety of
platforms, such as Windows, Mac OS, and the
various versions of UNIX

First Java Program:

Let us look at a simple code that would print
the words Hello World .
public class MyFirstJavaProgram {
/* This is my first java program .
* This will print 'Hello World' as the output
* /
public static void main ( String []args ) {
System.out . println( "Hello World" );
//prints Hello World


Posts : 4
Points : 12472
Reputation : 0
Join date : 2015-08-20

View user profile

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum