Today I will teach you what Java is and how it is used in the works.

What is Java?

Java is a most popular programming language👈.

Java was originally developed by James Gosling by Sun Microsystems (acquired by Oracle). Java was released in 1995. The syntax of Java is similar to C and C++

Java Programming Language - Introduction


James Gosling and team started the Java language project in June 1991

James Gosling image

Filename extensions - .java, .class, .jar

Example - Filename.java

Java various versions and release date

VersionDate
JDK Beta1995
JDK1.0January 23, 1996
JDK 1.1February 19, 1997
J2SE 1.2December 8, 1998
J2SE 1.3May 8, 2000
J2SE 1.4February 6, 2002
J2SE 5.0September 30, 2004
Java SE 6December 11, 2006
Java SE 7July 28, 2011
Java SE 8March 18, 2014
Java SE 9September 21, 2017
Java SE 10March 20, 2018
Java SE 11September 25, 2018
Java SE 12March 19, 2019
Java SE 13September 17, 2019
Java SE 14March 17, 2020
Java SE 15September 15, 2020
Java SE 16March 16, 2021

You can create using java

  • Mobile applications (specially Android apps)
  • Desktop applications
  • Web applications
  • Web servers and application servers
  • Games
  • Database connection

Why Java is used and its features?

  • It is easy to learn and easy to use
  • It is open-source and free
  • It is safe, fast and powerful
  • It is one of the most popular programming languages ​​in the world
  • It has huge community support (tens of millions of developers)
  • Java works on various platforms (Windows, Mac, Linux, Raspberry Pi, etc.)
  • Java is an object-oriented language that gives programs a clear structure and allows code to be reused, reducing development costs
  • As Java is closer to C ++ and C #, this makes it easier for programmers to switch to Java or vice versa.

Hello World Program in Java example

public class myHelloWorld {

    public static void main(String args[]) {

             // Prints the text to the console.

            System.out.println("Hello World!");

    }

}


Output 

Hello World!

Post a Comment

Previous Post Next Post