Introduction to Java

Ankit Kumar Gupta
TEK Society
Published in
3 min readSep 2, 2020

Programming isn’t simply applying some functionality via typing several lines of code. Instead, it is the art of surviving as well as creating wonders while on the way to achieving success.

It would be great to know that it’s been more than two decades since Java hit the programming world for the first time. Since then, it’s been one of the most versatile programming languages in almost every field of programming such as system, application, web apps, APIs.

The first implementation was done publicly by the Sun Microsystems as Java 1.0 in 1996.

Java was originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform.
It’s now acquired by the Oracle.

The latest versions is the Java 14, released in March 2020.
no-cost run-times on popular platforms

Having fairly secure and featuring configurable security, it allows network- and file-access restrictions.

About JAVA and it’s Features

Java is a class-based, object-oriented programming language, which means everything in Java is an object that is designed to have as few implementation dependencies as possible. However, it is not considered as pure object-oriented as it provides support for primitive data types (like int, char, etc).

Object-oriented means we organize our software as a combination of different types of objects that incorporates both data and behaviour.

There are two types of platforms software-based and hardware-based. Java provides a software-based platform.

The Java platform differs from most other platforms in the sense that it is a software-based platform that runs on the top of other hardware-based platforms. It has two components:

  • Runtime Environment
  • API(Application Programming Interface)

Java code can be run on multiple platforms, for example, Windows, Linux, Sun Solaris, Mac/OS, etc. It uses strong memory management.
There are exception handling and the type checking mechanism in Java. All these points make Java robust.

Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of the underlying computer architecture
Java Programming Language.

Simple Hello World Program

// A Java program to print "Hello World" 
public class Firstcode {
public static void main(String args[ ])
{
System.out.println("Hello World");
}
}

Output:

Hello World

For more such posts, do follow our Publication :
https://medium.com/tek-society

If u really loved my work do help me with a clap👏 as it would boost my enthusiasm and love for posting more such briefs which would help you to mount up your knowledge.

~~Thank you.

--

--