C vs java

Differences between C and Java:

  • C doesn't provide security to the programs. Java provides security to the programs.
  • C follows POP(procedure oriented programming) methodologies.Java follows OOP methodologies.
  •  In C data is treated as a public entity.In java data is treated as a private entity.
  • C follows top down approach.Java follows bottom up approach.
  • To test the modules in C drivers are required where as drivers are not required to test the modules in java.
  • In C data moves freely between the functions of a program.In java data is restricted to move freely between the objects.
  • combining the modules to form a large program is difficult task in C.It is easy to combine modules in java.

Share it


Post a Comment