Getting Started With Java

Getting Started With Java
Getting Started With Java

Java is a programming language, just like c and c++. Sun Microsystems developed Java in 1995.

Before Java, its name was Oak, then James Gosling and his team changed the name to Java.

Java is both a programming language and a platform.

Java is an object-oriented, functional, concurrent, secured and general-purpose computer programming language.

Java's WRITE ONCE and RUN ANYWHERE, is just too strong.

Java is sleeker, faster, and much more powerful today.

A simple Java program that prints "Hello, world" on the console.

class HelloWorld {
	public static void main(String[] args) {
    	System.out.println("Hello, world");
    }
}

What can we build using Java?

Java has a JVM (Java virtual machine) that manages application memory and provides a portable execution environment for Java-based applications.

If JVM can run on a machine, you can write and run Java code there.

Note: If a refrigerator can run JVM init. You can definitely write Java code and run on it.

We can build the following applications using Java.

  1. Desktop applications for Mac, Linux, Windows, etc.
  2. Web applications (google.com, spring.io, oracle.com, etc.).
  3. Enterprise applications (banking software).
  4. Mobile-based applications for android.
  5. Robotics.
  6. Games.
  7. Console applications.
  8. Augmented reality (AR) and Virtual reality (VR) apps.

Java Features

  1. Simple
  2. Object Oriented
  3. Portable
  4. Platform independent
  5. Secured
  6. Robust
  7. Architecture neutral
  8. High performance
  9. Multithreaded
  10. Distributed
  11. Dynamic

Java takes you to new places. From its humble release to the public as version 1.02, Java influenced many programmers with its syntax, object-oriented features, memory management, and best portability.

Java has a vast community that backs and releases newer versions every six months.

Some of the significant LTS (Long-term support) releases that developers are currently using are:

  1. Java 8 (Most of them still run this version)
  2. Java 11
  3. Java 17

How many devices run Java

  • 1.1 billion desktops run Java
  • 930 million Java runtime environment downloads each year.
  • 3 billion mobile phones run Java.
  • 31 times more Java phones ship each year than Apple and Android combined.
  • 100% Blu-ray players run Java.
  • 1.4 billion Java Cards are manufactured each year.
  • Setup boxes, printers, webcams, car navigation systems, parking payment systems, and more.
  1. Youtube channel - https://www.youtube.com/@java/featured
  2. Websites - https://java.com, https://dev.java/
  3. Java Champions - https://github.com/aalmiray/java-champions