Qus:- Differences between C and Java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

Qus:- Differences between C and Java?

19th May 2019, 10:10 AM
Deepika Mourya
Deepika Mourya - avatar
5 Answers
+ 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
19th May 2019, 10:13 AM
Alessio Benvenuti
Alessio Benvenuti - avatar
+ 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..
19th May 2019, 12:53 PM
Vijendra Mewada
Vijendra Mewada - avatar
+ 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.
19th May 2019, 2:25 PM
Vaishnavi Rajkumar Pawar
+ 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 😏😏😏
19th May 2019, 12:22 PM
Werg Serium
Werg Serium - avatar
0
The only thing is OOP
19th May 2019, 11:13 AM
Karthik here
Karthik here - avatar