Sunday, 15 July 2012

Java Programming language



What is Java?
JAVA is an object oriented programming language (OOPS) which simulates the real world object in the Programming world. It is a computing platform first released by sun Microsystems in 1995. Java runs on more than 850 million personal computers worldwide, and on billions of devices worldwide, including mobile and TV devices. 

Why should we study JAVA?
Java is a platform independent language. It is free to use. Millions of developers are there to help us when we need any help on this platform. It is safe and secure to use. We can develop our own application and sell it in the market that too without any licensing charges for the language. It has been developed very much since 1995 and many other frameworks have been added to Java ex. Spring, Hibernate etc. Today mobile based applications are being developed on Android whose base is Java. There are many reasons to choose Java apart from these.





Simple Hello World Program in Java

public class HelloWorld{
            public static void main(String args[]){
                        System.out.println("Hello World!!");
                        }
}
Instructions –
  1. Save the file with name HelloWorld.java
  2. Compile it with javac HelloWorld.java 
  3. And run it using java HelloWorld.

No comments:

Post a Comment