What is Java? Java and its base principles. - Programmics! - We Love to Code.
demo image

What is Java? Java and its base principles.

Share This
Java, a language with which most of us have heard about, either in school, in a book, by friends or in a blog. Java is a language with almost all the capabilities and advanced features packed up in a single unit.

Java Logo

What is Java?

Java is a high-level, object-oriented programming language. It is the third generation programming language and was developed by James Gosling at Sun MicroSystems in 1995. The language is designed especially for building platform-independent applications.

Java grasped the eyeballs in the year 1996 for being an internet as well as a general programming language. Java had tonnes of new features if compared with its early competitors.

Features of Java.

Java had some great features like -

  • Programs were Compiled and Interpreted - A program needs to be either compiled or interpreted. Java does both the tasks which made it a two-stage system.

  • Platform Independency - Java came in the market with a new concept of "Write once, run anywhere" which means Java's program after being written can be run on any platform which makes it a powerful language.

  • Being Object-Oriented - Java is purely Object-Oriented and all its data is in the form of objects and classes. 

  • Being Robust - Java's has an advance compilation system which first compiles the program and checks for error. On the other hand, interpreter checks for runtime errors. This feature makes Java a robust language.

  • Security - Java is specially designed to provide a secure programming environment and therefore it uses a special encryption system to allow java apps to transmit their data.

  • Available for Free of Cost - Java is an open product. It can be downloaded and distributed freely.

Java Byte Code.

Java, being a high-level programming language, has a compiler which unlike other compilers converts the source code into byte code. This byte code is independent and this code is later on converted according to the system on which this code needs to be executed.

This idea makes Java, a highly portable language because the Java Byte Code can easily be ported to every system in the environment.

How java compiler works

Java Virtual Machine (JVM).

Whenever you write code in any language, it either needs to compiled or interpreted whereas in Java, the program is firstly compiled and converted into Byte Code. This Byte Code is later on interpreted at platform level over which the program needs to be executed. The devices (computers, mobile, etc.) are preloaded with interpreters that can interpret this Byte Code according to the platform it needs to be executed. These interpreters are called Java Virtual Machine (JVM).

Java Development Kit (JDK).

Java Development Kit or JDK is a cluster of a large number of development tools. JDK consists of a lot much of predefined classes and methods which are classified into different packages.

Java is a complete package for all type of general and advanced programming. Java nourishes almost all of your programming needs and therefore it is widely accepted all over the world.

At last, if you want to Install Java in your system, you can simply drift to my post which tells you about "How to install Java?".

Thank you for being here.

No comments:

Post a Comment