You are on page 1of 1

Compile and Run Java Program: It's Two Step Process

Compilation and execution of a Java program is two step process. During compilation
phase Java compiler compiles the source code and generates bytecode. This
intermediate bytecode is saved in form of a .class file. In second phase, Java
virtual machine (JVM) also called Java interpreter takes the .class as input and
generates output by executing the bytecode.

A class is a way of binding the data and associated methods in a single unit
Any JAVA program if we want to develop then that should be developed with
respective
class only i.e., without class
In object oriented programming�s
member methods and non-member methods

https://www.ict.gnu.ac.in/content/academic-calender-2018-2019

You might also like