1.

What is the difference between C and Java?

Answer»

Following are some of the differences between C and JAVA:

  • C is more procedure-oriented, whereas Java is more data-oriented.
  • C is a middle-level language as the binding of the gaps takes PLACE between machine level language and high-level languages. On the other hand, Java is a high-level language as the translation of code takes place into machine language using either a compiler or an interpreter.
  • C USUALLY breaks down to functions, whereas Java breaks down to Objects.
  • Memory allocation can be done by malloc in C, and memory allocation can be done by a new keyword in Java.
  • C does not support the CONCEPT of ‘THREADING’. Java supports the concept of ‘threading’.
  • C supports pointers, whereas Java does not support pointers.


Discussion

No Comment Found