Java - Introduction

Java is a programming language and a platform. Java is a high-level, robust, object-oriented, and secure programming language.Java was developed by Sun Microsystems (which is now the subsidiary of Oracle) in the year 1995. James Gosling is known as the father of Java. Before Java, its name was Oak. Since Oak was already a registered company, so James Gosling and his team changed the Oak name to Java.

 

Simple  Program

// A Java program to print “ByteTechSolution!

public class BTS {
public static void main(String args[])
   {
      System.out.println("Welcome To ByteTechSolution!");
}
}

Creation Of Java

Java was developed by James Gosling, Patrick Naughton, Mike Sheridan at Sun Microsystems Inc. in 1991. It took 18 months to develop the first working version. The initial name was Oak but it was renamed to Java in 1995 as OAK was a registered trademark of another Tech company.

History of Java

Originally Java was designed for Interactive television, but this technology was very much advanced for the industry of digital cable television at that time.  Java history was started with the Green Team. The Green Team started a project to develop a language for digital devices such as television. But it works best for internet programming. After some time Java technology was joined by Netscape. The objective to create Java Programming Language was it should be “Simple, Robust, Portable, Platform-independent, Secured, High Performance, Multithreaded, Object-Oriented, Interpreted, and Dynamic”. Java was developed in Sun Microsystem by James Gosling, Patrick Naughton, Mike Sheridan in 1991. It took 18 months to develop the first working version. James Gosling is also known as the Father of Java. Initially, Java was called “Green talk” by James Gosling and at that time the file extension was .gt. Later on Oak was developed as a part of the Green Team project. Oak is a symbol for strength and Oak is also a national tree in many countries like the USA, Romania etc. Oak was renamed as Java in 1995 because Oak was already a trademark by Oak Technologies. Before selecting the Java word the team suggested many names like dynamic, revolutionary, Silk, jolt, DNA, etc. Java is an island in Indonesia, where the first coffee was produced or we call Java coffee. Java coffee is a type of espresso bean. James Gosling chose this name while having coffee near his office. The word JAVA does not have an acronym. It is just a name. In 1995 Java was one of the best products by Time magazine. 

Why Learn Java Programming?

Java is a MUST for students and working professionals to become a great Software Engineer especially when they are working in Software Development Domain. I will list down some of the key advantages of learning Java Programming

Object-Oriented

In Java, everything is an Object. Java can be easily extended since it is based on the Object model.

Platform Independent

Unlike many other programming languages including C and C++, when Java is compiled, it is not compiled into a platform-specific machine, rather into platform-independent bytecode. This byte code is distributed over the web and interpreted by the Virtual Machine (JVM) on whichever platform it is being run on.

Simple

Java is designed to be easy to learn. If you understand the basic concept of OOP Java, it would be easy to master.

Secure

With Java’s secure feature it enables to development of virus-free, tamper-free systems. Authentication techniques are based on public-key encryption.

Architecture-neutral

Java compiler generates an architecture-neutral object file format, which makes the compiled code executable on many processors, with the presence of a Java runtime system.

Portable

Being architecture-neutral and having no implementation dependent aspects of the specification makes Java portable. Compilers in Java are written in ANSI C with a clean portability boundary, which is a POSIX subset.

Robust

Java makes an effort to eliminate error-prone situations by emphasizing mainly on compile-time error checking and runtime checking.

Applications of Java Programming

 

The latest release of the Java Standard Edition is Java SE 8. With the advancement of Java and its widespread popularity, multiple configurations were built to suit various types of platforms. For example J2EE for Enterprise Applications, J2ME for Mobile Applications. The new J2 versions were renamed as Java SE, Java EE, and Java ME respectively. Java is guaranteed to be Write Once, Run Anywhere.

Multithreaded

With Java’s multithreaded feature it is possible to write programs that can perform many tasks simultaneously. This design feature allows the developers to construct interactive applications that can run smoothly.

Interpreted

Java byte code is translated on the fly to native machine instructions and is not stored anywhere. The development process is more rapid and analytical since linking is an incremental and light-weight process.

High Performance

With the use of Just-In-Time compilers, Java enables high performance.

Distributed

Java is designed for the distributed environment of the internet.

Dynamic

Java is considered to be more dynamic than C or C++ since it is designed to adapt to an evolving environment. Java programs can carry an extensive amount of run-time information that can be used to verify and resolve access to objects on run-time.