Perbedaan antara kompilasi dan eksekusi di java

To compile means to check for any errors. It is like a grammatical check while execution means to run it. 
Xerothermic Xenomorph