10. Compare Java vs C?

  • Java is OOP languages so it have the features and advantages of OOP but it has compiler time slower than C
    because Java need to interpret from bytecode to machine code while C can compile directly source code to machine code.
  • With Java, source code will be compiled by Javac to byte code(.class file).  After that, JVM convert from byte code to machine code.
    And this process  takes time

Leave a Reply

Your email address will not be published. Required fields are marked *