Introduction and Features of JAVA

Java » Introduction and Features of JAVA

Java was developed by James Gosling and its first stable version released after 1 and a half year, initially named as Oak in 1991. In 1995, it renamed to Java. It was designed keeping in mind that it must be an independent language that could be embedded in household electronic devices such as a remote controller.

Problem with most of the other languages at that time was, they were only specific to a particular machine, resulting they were hardware dependent. However, it was also possible to run their code other platforms by using compiler but they were very costly and time consuming to design. That time,  Java was the only language independent from a machine.

At that time WWW initially entered, which was about to begin a new era, it required the portable programs which could run everywhere on the internet, Java was perfect to fulfill this demand.

However, initially Java was designed for solving small scale problems, but it was about to solve a large-scale problem on the internet, from that stage Java became the most successful language. Most of the JAVA features are taken from C and C++.

Features of JAVA:

  1. Object-Oriented programming language:- Similar to C++ and C#, it comes up with OOPS concepts such as polymorphism, classes and object, inheritance and Data binding. Each and every program consists of objects that refer to runtime entities having their own state and behaviour which resides in a user-defined data type named class.
  2. Platform independent: It is platform independent language as the compiler generated compiled code also referred as bytecode can be interpreted anywhere and everywhere using Java Virtual machine.
  3. High performance: Java uses Just-In-time compiler that precompiles codes which are repeating simultaneously in the program, resulting reduced time in execution and enhanced performance.
  4. Multithreading: Multithreading enables a program that can perform multiple tasks at the same time simultaneously. Not like process, threads execute parallelly and share the same memory and resources.
  5.  Secure: As we know Java codes are compiled first which produces bytecode, making it platform independent that prevents it from any harm from an operating system.

You must be logged in to take the quiz.

error: Content is protected !!