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

First Java Program First Java Program NOTE: You need to have java installed on your system. Step 1: Open a text editor, like Notepad on windows and TextEdit on Mac. W...
Data Types in Java Data Types in Java Data types represent the different values to be stored in the variable, for example if a variable has int data type, it ...
Strings String can be represented as a single-dimensional character type array. Strings in C are group of characters, digits, and symbols enclosed in quotatio...
Custom View by use of xib in swift Custom View by use of xib in swift We can create the custom and common view by the use xib in swift 3.1 and xcode 8.3.2 . Custom views are common and...
Comments in C Comments in C Comments in C language are used to provide information about lines of code. It is widely used for documenting code. There are 2 types o...
Dart Libraries | Dart Tutorial Dart Libraries Dart has the following libraries, which are included in all Dart platforms: dart:core This library is automatically imported into ev...

Leave a Reply

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