Introduction to Java
A program is a collection of instructions that performs a specific task when executed by a computer. A program must be written in a programming language. In this blog, you will learn to write programs using Java as a programming language.
Java is one of the most popular programming languages. Some statistics about Java are given below:
Java has been evolving since 1991 with different editions
According to the TIOBE Programming Community Index, it has been one of the top 5 programming languages for the past several years
It is being used by more than 10 million developers worldwide
More than 15 billion devices are powered by Java technology
More than 125 million Java-based TV devices have been deployed
97% of enterprise desktops run Java
The features and strengths of Java have made it suitable for applications throughout the history of the Internet, and it continues to do so even for modern applications.
Have a glance at what is going on in the Java world.
We write programs in programming languages like Java which are called as High-level programming languages. But computers cannot understand high-level languages, they understand only binary language, i.e., 0's and 1's. This is the reason that every program that we write needs to get converted into binary form for the computer to understand.
This conversion is made possible using system software called compilers and interpreters.
In Java, the program (source code) written by the programmer gets compiled and converted into byte code (compiled code) by the Java compiler.
All the byte codes required for the program are then given to the interpreter. The interpreter reads the byte code line by line, converts it to binary form, also called as machine language or binary language, and then executes it.
This process requires some support and an environment for the execution to happen. JDK (Java Development Kit) helps in this for execution of a Java program. It provides library support and Java Runtime Environment (JRE), the environment for developing and executing Java based applications and programs.
Comments
Post a Comment