Introduction to Java Programming Language


Introduction to Java Programming Language

What is JAVA

Java is programming language that produces software for multiple platforms, when a programer writes a java application, the byte code runs on most operating system, including Windows, Linux and Mac. It is a general purpose computer programming language that is designed to have the look and feel of the C++ language. It is simpler to use and enforces an Object Oriented Programming feature.

Creation Of Java

Java was developed by James Ghosling, Patrick Naughton, Mike Sheridan at Sun Microsystems 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 registered trade mark of another Tech company.

History Of Java

There are many realease of Java, recent stable release of Java is Java SE 8.

  • JDK Alpha and Beta (1995)
  • JDK 1.0 (23rd Jan, 1996)
  • JDK 1.1 (19th Feb, 1997)
  • J2SE 1.2 (8th Dec, 1998)
  • J2SE 1.3 (8th May, 2000)
  • J2SE 1.4 (6th Feb, 2002)
  • J2SE 5.0 (30th Sep, 2004)
  • Java SE 6 (11th Dec, 2006)
  • Java SE 7 (28th July, 2011)
  • Java SE 8 (18th March, 2014)

Application Of Java

Java is used worldwide. It is not only used in softwares but it is also used in the designing of hardware controlling software components.
Following are some other usage of Java:

  • Developing Desktop Application.
  • Web Applications like
  • Mobile Operating System like Android.
  • Embedded Systems.
  • Robotics and games etc.

Features Of Java

1. Simple:

Java is much simpler than C++ beacause Java uses automatic memory allocation and garbage collection.

2. Object-Oriented:

In java everything is Object which has some data and behaviour. Java can be easily extended as it based on Object Model.

3. Robust:

Java is robust because it is highly supported language. It is portable across many operating system, it also has feature of automatic memory management and garbage collection.

4. Platform-Independent:

Java is platform independent language that guaranteed to be write-once, run-anywhere (WORA) language. On compilation java program is compiled into bytecode, this bytecode is platform independent and can be run on any machine with Java Runtime Environment (JRE).

5. Secure:

Java program always runs in Java Runtime Environment (JRE) with almost null interaction with system OS, hence it is more secure.

6. Architectural Neutral:

Compiler generates bytecodes, that do not have any impact on computer architecture, hence a java program is easy to interpret on any machine.

7. Multi Threading:

This feature makes it possible to write program that can allow multiple user to perform multiple tasks simultaneously

8. Portable:

Java byte code can be carried to any platform, no implementation dependent features.

Disadvantages Of Java:

1. Slow Performance:

The first drawback of Java is slow speed of execution. To overcome this, Java comes with the JIT (Just-In-Time) compiler.

2. No Control over garbage collection:

Garbage collection is one of the built-in features of Java and is entirely managed by JVM.

Related Post

Data Type And Storage And Keywords To store data inside the computer we need to first identify the type of data elements we need in our program. There are several different types of dat...
Variables in Java Variables in Java A variable is something which is associated with a value can be changed. For example: int i=10; Here variable name “i” wh...
Switch Case Statement Switch Case Statement The switch statement is a multi-way branch statement. It provides an easy way to dispatch execution to different parts of c...
Java If-else Statement Java If-else Statement The Java if statement is used to test the condition. It checks boolean condition: true or false. For example, if a number i...
Create Firebase single Page Website Create firebase single page Website tutorial In this tutorial we are study how to create single page website by the use of firebase hosting its very ...
Loops in java Loops in JAVA Loops are used to execute a set of statements repeatedly until a particular condition is satisfied. Loop is used in programming ...

Leave a Reply

Your email address will not be published. Required fields are marked *