5 Answers - Sort by: Date | Rating
Both Java and C are programming languages.
The differences between them are as under:
• The Java has no pointer in it but the C has pointer in it.
• The referencing system automatically checks in Java but not in C.
• In Java, there is no concept of global variable where as the C language use the global variable to access all the functions.
• C language supports the multiple inheritance concepts and Java language do not support it
• Templates are not supported by the Java where as C language supports the template to allow users to create stacks.
• Operator overloading is existing in C language but Java not support it. The operators are in incremental or decremented ways.
• The preprocessors are used in C language where as Java do not support it. Preprocessor like # defines and # include.
• In C the objects can be manipulated automatically with the help of reference.
Although there are lots of differences but there are many similarities as well in the C language and the Java like local object declaration and method overloading.
The differences between them are as under:
• The Java has no pointer in it but the C has pointer in it.
• The referencing system automatically checks in Java but not in C.
• In Java, there is no concept of global variable where as the C language use the global variable to access all the functions.
• C language supports the multiple inheritance concepts and Java language do not support it
• Templates are not supported by the Java where as C language supports the template to allow users to create stacks.
• Operator overloading is existing in C language but Java not support it. The operators are in incremental or decremented ways.
• The preprocessors are used in C language where as Java do not support it. Preprocessor like # defines and # include.
• In C the objects can be manipulated automatically with the help of reference.
Although there are lots of differences but there are many similarities as well in the C language and the Java like local object declaration and method overloading.
0
0
C and JAVA are of two different paradigms. C follows structured programming while Java follows object oriented programming.
0
0
Java is preferred mostly for all web based application when compared with C. C too, has its own advantages as it is more frequently used as a powerful language to develop device drivers and for Telecom products which use both the power of C and C++.
0
0
C requires explicit handling of pointers while in Java pointers are handled internally.C is platform dependent while Java is platform independent.Java is more robust and highly secure compared to C language.
0
0
There are many features that are not present in C but can be seen in Java.They are inheritance,class,object,polymorphism,virtual class,abstract class,constructors,destructor,message passing,information binding etc.
0
0


New Comment - Comments are editable for 5 min.