Three step process that gives us feedback
- Edit your program
-
Create it by typing text on our keyboard
- Eventually we get a text file (Eg : Helloworld.java)
- Compile the program to create an executable file
-
Here we use a java compiler so it technically creates a java byte-code file (Eg : Helloworld.class)
- If there is a mistake the compiler tells us so and then we go back to Step 1 and fix things (mainly : Recompile)
- Run our program
Eg :
java Helloworld.java
- Run our program
Eg :
- There may be errors sometimes in which we must Recompile again