What Is Java

Java is the most popular high level, robust, object-oriented, and secure programming language. It was developed by Sun Microsystems in the year 1995. It provides a system for developing software applications.

It was initially designed for developing programs for television, set-top boxes, etc but that time it was more advanced for the digital cable television.

Java provides WORA (Write Once Run Anywhere) functionality. This means you can develop Java program on own system and can run on any other system without any problem.

The initial name of java is Oak. But Oak was already a registered company, so James Gosling and his team changed the name to Java.

Java syntax is similar to c and c++. If you already learnt c and c++ programming language then java is easy to learn.

Java Program

We created a Java file called TestJava.java, and we used the following code to print “Study4Geeks” to the screen.

public class TestJava{  
    public static void main(String args[]){  



In the above program simply we create a class and TestJava is the name of this class. println() method used for printing the Study4Geeks message in the console.

Uses Of Java

  1. Desktop applications
  2. Web applications
  3. Mobile applications
  4. Web servers
  5. Games
  6. Database connection

Java Platforms

There are four platforms of Java language.

  1. Java Standard Edition (Java SE)
  2. Java Enterprise Edition (Java EE)
  3. Java Platform, Micro Edition (Java ME)
  4. JavaFX

Java Standard Edition (Java SE): It used for developing Desktop applications.

Java Enterprise Edition (Java EE): Java EE used for developing web applications.

Java Platform, Micro Edition (Java ME): This platform used for developing mobile applications,setup-box, etc.

JavaFX: It used for developing Desktop applications and Rich Internet Applications.

Do you know?
What Is Java This article is contribute by Study4Geeks If you want share your knowledge on Study4Geeks then go to login section.