What is Java and its basic principles?

Java, a language with which most of us have heard about, either in school, in a book, by friends or in a blog.

Java, a language with which most of us have heard about, either in school, in a book, by friends or in a blog.

What is java & it's basic?

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.

Basic Principles 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 has an advance compilation system that 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.
How cross platform programs in java works.

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.

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 the 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 of predefined classes and methods which are classified into different packages.

Java is a complete package for all types 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 on your system, you can simply drive to my post which tells you about “How to install Java?“.

Thank you for being here.

– Prateek Singh

Rating: 5.0/5. From 1 vote.
Please wait...
I am Prateek Singh and I have been coding and learning The Art of Programming for a while. I have been learning Java and a lot of languages by myself and I thought it would be great to share with those who too want to master this ART. Here, at Programmics, I will be sharing what I learned about this great ART and it will be great to learn together.
Posts created 13

3 thoughts on “What is Java and its basic principles?

Leave a Reply

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

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top
Share via
Copy link