Java is an Object Oriented as well as Platform Independent programming language.
- Compiled and Interpreter
- Platform independent
- Object Oriented
Step-1: Create a java source code with .java extension
Step-2: Compile the source code using java compiler, which will create bytecode file with .class extension.
Step-3: Class loader reads both the user defined and library class into the memory for execution
Step-4: Bytecode verifier validates all the bytecodes are valid and do not violate Java’s security restrictions.
Step-5: JVM reads bytecode and translate into machine code for execution. While execution of the program the code will interact to the operating system and hardware.
JVM-Java Virtual Machine
What is Platform?
We can define a platform as the sum of hardware and software, that provides the environment to run the program. We can realistically say that a platform is the computer and the operating system running on it. The operating system can be Windows, Mac, Linux, or any of many others.
If a computer program executes at every operating system then such type of piece of code should be treated as Platform-Independent code. And the programming language in which this code has been written should be known as platform Independent Programming Language.
If a code compile once and runs at any Operating system then this could be treated as Platform Independent code and the programming language in which this code has been written should be known as Platform Independent Programming language. Write Once Runs Anywhere (WORA)
How its happens?
JVM for Each and Every OS
Future Scope of Java Programmers
Following points show the immense opportunities available for Java Programmers in India:-
- India’s $150 billion IT services outsourcing industry is adapting to the changes that are fast setting in because of automation and higher adoption of digital technologies.
- Government projects like Digital India and Demonetization surely will give rise to demand for Java Programmers in every company going digital.
Average Salary for Java Programmers
Percentage of Job Listings