Originally posted by: Tarrant64
Does anyone have a clue what the deal is behind these languages? Is one better for the other depending on what your doing? I know java is 'object-orientated' or whatever, so does that mean C is more 'sequential' in programming? Someone once told me long time ago that one of the languauges, i forget which, was basically used to create the other(ex: c used to create more complex language java or whatever).
If you have a link to information about these two and what their reltionships/differences/similarities are, that would also work.
Thanks!
C is a procedural language, while C++ is an objected oriented version of C. Java is quite similar to C++, though it has influences from other languages too.
Either language can be compiled to machine code or to byte code or interpreted. That's not a feature of the language, but of the tools. Java is more often byte-compiled, while C is more often compiled to machine code, but you can do either with both languages.
C is a low level language, which is good for directly interacting with hardware. Most operating systems are written in C today. C is an unsafe language; most security flaws that result in CERT alerts are a result of C implementation errors.
Java is a safe, higher level language, which is most often used for written business application software, including many web sites as well. Java is object-oriented, and people who are already familiar with procedural languages like C tend to find object-oriented programming harder to learn.
It all depends on what you want to do. I wouldn't recommend either language as the first one for you learn. For that, I'd recommend Python. It's safe, high level, object-oriented language that's much easier to use than Java. It's also free. O'Reilly's Learning Python is a good place to start, as is the online book
How to Think Like a Computer Scientist in Python.