Difference Between
Java and C
Java vs. C :
Java
|
C
|
Java
is object-oriented
|
C is
procedural-oriented
|
Java
is both compiled and interpreted language
|
C is
a compiled language.
|
Java
is platform independent
|
C is
platform dependent
|
Java
is a high level language
|
C is
a low-level language
|
Java
uses bottom-up approach
|
C
uses top-down approach
|
In
Java, pointer is in back stage
|
C
uses pointer explicitly
|
Java
supports method overloading
|
C
does not support method overloading
|
Java
does not support pre-processor
|
C
support pre-processor
|
Java
handles exception
|
C
does not support exception handling mechanism
|
Java
collect garbage automatically
|
C
collect garbage explicitly
|
No comments:
Post a Comment