+ 8
Qus:- Differences between C and Java?
5 ответов
+ 5
Deepika Mourya
JAVA is Object-Oriented while C is procedural.
Most differences between the features of the two languages arise due to the use of different programming paradigms. C breaks down to functions while JAVA breaks down to Objects. C is more procedure-oriented while JAVA is data-oriented.
source:
https://www.quora.com/What-is-difference-between-Java-and-C
I hope I was helpful
+ 3
The main difference Java and c is
C is a procedural programming language and Java is a pure object oriented programming language and c is dependent but java is independent on compiler..
+ 2
1. C is a language that needs to be compiled.
Java is a language that gets interpreted and compiled.
2. C is platform dependent.
Java is platform independent.
3. C does not support multithreaded programming.
Java supports multithreaded programming.
4. C does not have facility to create and implement the graphical user interface.
Using Java, one can design very interactive and user friendly graphical user interface.
5. C does not have any exception handling mechanism using.
Java has exception handling mechanism using try-catch and throw.
6. C does not supports any object oriented programming concept. It is a procedure oriented programming.
Java does not support multiple inheritance however it makes use of interface. It is an object oriented programming language.
7. In C, we can use pointers.
In Java, there is no concept of pointers.
8. In C, there is no class. Structure is used instead of that.
In Java, there must be at least one class present.
+ 1
Nope wrong Karthik. It's wrong to say that the only difference about java and C is only about OOP. In C there are pointers that do not exist in java. C have also unions, structors and macros, java have not anything of this. Java maybe have OOP, C have another nice things 😏😏😏
0
The only thing is OOP