C Language C++ Language JAVA
1. Procedure/ Structured Multi-paradigm language Object oriented
oriented (procedural as well as (not completely because
object oriented) it does not support
multiple inheritance)
2. Platform dependent Platform dependent Platform independent
3. Low level language Middle level language High level language
4. Uses top down Uses bottom up Bottom up
approach approach
5. Function driven Object driven
6. Does not support Support function Support function
function overloading overloading overloading
7. Does not support Supports operator Does not support
operator overloading overloading operator overloading
8. Support pointers Support pointers Does not support
pointer
9. Cannot use function Can use function
inside structure inside structure
10. NAMESPACE NAMESPACE
feature is absent feature is present
11. Support multiple Does not support
inheritance multiple inheritance
12. Does not support Support exception Support exception
exception handling handling handling
13. Does not allow Allow reference variable
reference variable (two variables pointing to
same memory location)
14. " : : "scope resolution operator No scope resolution
is required operator
15. Contain goto Contain goto Does not contain goto
keyword keyword
No comments:
Post a Comment