English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-07-06 19:18:56 · 10 answers · asked by Nagarajan N 1 in Computers & Internet Programming & Design

10 answers

C is compiled on the machine (OS) that it is to be run on, before being distributed.

Java runs through a 'virtual machine', that is designed to interpret (sort of like compiling) the generic Java code, for each particular machine, in real-time.

C is ready to go, in a lean and mean version right from the start, once it is compiled.
Java has to be translated as the program runs on the target machine.

Thus, C runs much faster than Java...in my experience.

2006-07-06 19:27:40 · answer #1 · answered by energeticthinker 5 · 0 0

C is a structured language but Java is objectOriented language.
ie., security is not provided to the members of structures n we cannot use functions inside structures.This draw back overcome in Java by concept called Encapsulation.

2006-07-07 02:24:41 · answer #2 · answered by kvsrk_2006 1 · 0 0

1. Java is not a true programming language. Java source you write os translated into "byte code" suitable for execution with any JVM.
2. "C" has been originally designed for writing operating systems ans Java has been designed by Sun Microsystems for embedded (hardware) programming - as frigiders, irons, etc. For now, both "C" and Java are used for cell phones. Mostly Java, though it is heavy-
moving.
3"C" is both high-level ans low-level programming language. Java is more close to scripting language.

Will it be enough? :-)

2006-07-07 03:21:15 · answer #3 · answered by alakit013 5 · 0 0

There are many differences that can be mentioned but I will answer this question in terms of each language's main advantages. Programmers will prefer C if they need memory manipulation in their program, and Java when portability across computer platforms(e.g. OS such as Windows, Unix) is a bigger concern.

2006-07-07 03:04:18 · answer #4 · answered by kassad84 2 · 0 0

Main difference is C is procedure oriented and Java is Object Oriented

2006-07-07 02:22:29 · answer #5 · answered by menons_2002 1 · 0 0

C++ is a programing language based more on machine language
(1001001010100101 ect.) Java is a programing language based off of HTML and is used on the internet more than anything else.

2006-07-07 02:23:57 · answer #6 · answered by Galactic 2 · 0 0

c is object oriented whereas java is true object oriented programming and c security is not well defined . i.e, we can just access the value through keyboard directly and quickly which is not secure. Whereas in java we don't do it directly.

2006-07-07 06:16:18 · answer #7 · answered by Anonymous · 0 0

while learnin java u'll find it more complex than c.but dis iss advantageous.java is used in designing web appln. bcoz it does supports the use of ptrs to the prgmr it is more secure than C or c++.

2006-07-07 02:52:18 · answer #8 · answered by babloo 3 · 0 0

java is secure

2006-07-13 10:51:20 · answer #9 · answered by ihoston 3 · 0 0

c is procedural language
java is object oriented programming

2006-07-07 02:34:10 · answer #10 · answered by nageswara r 1 · 0 0

fedest.com, questions and answers