0% found this document useful (0 votes)
13 views

Introduction To Java, Its History and Features

Java is an object-oriented programming language that is designed to have few implementation dependencies and allow code to run on any platform. It was created in 1995 and is widely used for applications across desktops, web, and mobile. Java is known for its simplicity, robustness, and security features.

Uploaded by

honeyrani6d16
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Introduction To Java, Its History and Features

Java is an object-oriented programming language that is designed to have few implementation dependencies and allow code to run on any platform. It was created in 1995 and is widely used for applications across desktops, web, and mobile. Java is known for its simplicity, robustness, and security features.

Uploaded by

honeyrani6d16
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Introduction to Java




Java is a class-based, object-oriented programming language that is designed to
have as few implementation dependencies as possible. It is intended to let
application developers write once, and run anywhere (WORA), meaning that
compiled Java code can run on all platforms that support Java without the need for
recompilation. Java was first released in 1995 and is widely used for developing
applications for desktop, web, and mobile devices. Java is known for its simplicity,
robustness, and security features, making it a popular choice for enterprise-level
applications.
JAVA was developed by James Gosling at Sun Microsystems Inc in the
year 1995 and later acquired by Oracle Corporation. It is a simple programming
language. Java makes writing, compiling, and debugging programming easy. It
helps to create reusable code and modular programs. Java is a class-based, object-
oriented programming language and is designed to have as few implementation
dependencies as possible. A general-purpose programming language made for
developers to write once run anywhere that is compiled Java code can run on all
platforms that support Java. Java applications are compiled to byte code that can
run on any Java Virtual Machine. The syntax of Java is similar to c/c++.

History of java
Java’s history is very interesting. It is a programming language created in
1991. James Gosling, Mike Sheridan, Patrick Naughton, and Bill Joy a team of
Sun engineers known as the Green team initiated the Java language in 1991. Sun
Microsystems released its first public implementation in 1996 as Java 1.0. It
provides no-cost -run-times on popular platforms. Java1.0 compiler was re-written
in Java by Arthur Van Hoff to strictly comply with its specifications. With the
arrival of Java 2, new versions had multiple configurations built for different types
of platforms.

On November 13, 2006, Sun released much of its Java virtual machine as free,
open-source software. On May 8, 2007, Sun finished the process, making all of its
JVM’s core code available under open-source distribution terms.
The principles for creating java were simple, robust, secured, high-performance,
portable, multi-threaded, interpreted, dynamic, etc. In 1995 Java was developed
by James Gosling, who is known as the Father of Java. Currently, Java is used in
mobile devices, internet programming, games, e-business, etc.

Java programming language is named JAVA. Why?


After the name OAK, the team decided to give it a new name to it and the
suggested words were Silk, Jolt, revolutionary, DNA, dynamic, etc. These all
names were easy to spell and fun to say, but they all wanted the name to reflect the
essence of technology. In accordance with James Gosling, Java the among the top
names along with Silk, and since java was a unique name so most of them
preferred it.
Java is the name of an island in Indonesia where the first coffee(named java
coffee) was produced. And this name was chosen by James Gosling while having
coffee near his office. Note that Java is just a name, not an acronym.

Primary/Main Features of Java


1. Platform Independent: Compiler converts source code to bytecode and then
the JVM executes the bytecode generated by the compiler. This bytecode can run
on any platform be it Windows, Linux, or macOS which means if we compile a
program on Windows, then we can run it on Linux and vice versa. Each operating
system has a different JVM, but the output produced by all the OS is the same after
the execution of the bytecode. That is why we call java a platform-independent
language.
2. Object-Oriented Programming Language: Organizing the program in the
terms of a collection of objects is a way of object-oriented programming, each of
which represents an instance of the class.
The four main concepts of Object-Oriented programming are:
 Abstraction
 Encapsulation
 Inheritance
 Polymorphism
3. Simple: Java is one of the simple languages as it does not have complex
features like pointers, operator overloading, multiple inheritances, and Explicit
memory allocation.
4. Robust: Java language is robust which means reliable. It is developed in such a
way that it puts a lot of effort into checking errors as early as possible, that is why
the java compiler is able to detect even those errors that are not easy to detect by
another programming language. The main features of java that make it robust are
garbage collection, Exception Handling, and memory allocation.
5. Secure: java programs run in an environment that is independent of the
os(operating system) environment which makes java programs more secure.
6. Portable: As we know, java code written on one machine can be run on another
machine. The platform-independent feature of java in which its platform-
independent bytecode can be taken to any platform for execution makes java
portable.
7. Write Once Run Anywhere: As discussed above java application generates a
‘.class’ file that corresponds to our applications(program) but contains code in
binary format. It provides ease t architecture-neutral ease as bytecode is not
dependent on any machine architecture. It is the primary reason java is used in the
enterprising IT industry globally worldwide.
8. Power of compilation and interpretation: Most languages are designed with
the purpose of either they are compiled language or they are interpreted language.
But java integrates arising enormous power as Java compiler compiles the source
code to bytecode and JVM executes this bytecode to machine OS-dependent
executable code.

You might also like