Java : The platform independent
Java is a high level object oriented platform independent programming language.
What high level mean?
High level mean you don't need to care about what going on inside your after executing your code. You don't need to know How your source code converted into machine code and what processor will do with your source code
All you need to know just the syntax an feature of java programming language.
What object oriented mean?
Object oriented programming is a paradigm in which you can define almost real life objects in your code it helps you to reduce the lines of your source code. I will explain you object oriented programming in my future blog.
What platform independent mean?
Platform independent mean you the code writen in java can be run on any operating system
For example you write your code in java on windows operating system. These same source code can also be run on Linux and Mac OS as well. Whereas for platform independent programming language like c/c++ You need to write code individually for each other operating system. The same written c/c++ code for windows os not work on Linux and Mac OS like Java.
What makes Java platform independent?
Java virtual machine (JVM) is responsible for Java' platform independence.
The code you write in Java first convert into byte code instead of bit code using JVM and then JVM will convert these byte code into machine code. Java virtual machine is already installed on windows, Linux and Mac OS.
JDK ( Java development kit) Java Development Kit is an implementation of either one of the Java Platform, Standard Edition, Java Platform, Enterprise Edition, or Java Platform, Micro Edition platforms released by Oracle Corporation in the form of a binary product aimed at Java developers on Solaris, Linux, macOS or Windows.
JRE (Java Runtime environment) The Java Runtime Environment (JRE) is a set of software tools for development of Java applications. It combines the Java Virtual Machine (JVM), platform core classes and supporting libraries.
Comments
Post a Comment