Computer Science, asked by sekarGour132, 1 year ago

What's the difference between c and java

Answers

Answered by Nishitha
1
C is a structured programming language that views data and functions as separate identities.
Java is an Object Oriented Programming language that views data and functions as a single entity by using class feature.

Hope it helped u....:D

Answered by InnocentJatti
0

Answer:

Both C and Java are high level level languages. C language is called a procedural language.  Java is an Object oriented language.

In c language, one write a program in terms of a main function, which calls other functions and finally the program control is managed to achieve the objective of the program.  It may take more amount of time to  write very big programs and perfect them, because errors in design are possible. some program errors (sematic) may not be detected earlier. One can improve quality by doing  a modular design.

In object oriented languages, the thinking of the solution is more natural to realistic solution. One models a program in terms of an object (class), its methods (functions) and its data (properties). A lot of type checking is done. Programs written is java cannot be affected by virus. Use of programs written by others is simpler than in case of procedural languages.

Similar questions