- On
- By
- 0 Comment
- Categories: Basic, Java basic
Introduction of Java programming language
Introduction of Java programming language
In this tutorial, I will introduction the Java programming language.
Java is an easy to understand and easy to use the programming language with object-oriented programming concept.
Java was developed by Sun microSystem inc in 1991 by a group including James Gosling. Afterwards, it was acquired by Oracle Corporation. Read more about Java History
Java is a popular general-purpose programming language built for multi-purpose including computing. It’s simple programming language is ideal for coding, compiling and easy debugging.
Now Java is run in about 3 billion devices in the world and it is increasing day by day. Now, there are many applications, websites and devices run with Java installation
Java has many features for coding and developing purposes. It is simplified for the programmers. Java is/has:
- platform independent
- Object-oriented language
- Simple language
- Robust Language
- Secure language
- Java is distributed
- Multi-threading
- Portable
Read more – Features of Java language
Java is a package that contains many components including JRE, JVM, JDK
Java Development Kit
JDK or Java Development Kit provides the environment to write web, develop the desktop application and run the Java program.
JDK=JRE+Development tool
JDK includes the Java Runtime Environment (JRE), an interpreter/class loader (Java), a compiler (javac is a java compiler), applet viewer, an archiver (jar), debugging tools, Javadoc and other tools needed in Java development.
Java Runtime Environment
JRE is a part of the JDK (Java Development Kit) which contains a set of Java tools, JVM and necessary files to allow running the Java program.
Java Virtual Machine
JVM has a flowing component such as the class loader, Bytecode verifier, Security manager and executive engine.
JVM loads and executes the class file.
Java program execution has many phases:
- program writing using Java language
- Javac is a Java compiler used to compile Java program and generate output in bytecode.
- JVM compiles the bytecode generated by the compiler.
- Java bytecode runs on any machine or hardware(any environment). It gives the same output when executed by JVM.
JVM has a main role in Java file execution. When the java compiler provides a class file to JVM, JVM returns a machine code to access any platform or any top of hardware.
Role of JVM
Suggested for You
Introduction of Python