Question:
diff btwn c,c++,java?
shashikala
2012-06-25 04:34:14 UTC
diff btwn c,c++,java
Three answers:
?
2012-06-25 04:38:06 UTC
C : is a structure oriented lan

C++ : is a object oriented lang, but it inherits all data types etc from C lang

JAVA : is a pure object oriented language
godfatherofsoul
2012-06-25 09:31:47 UTC
C is a procedural language and native. Very popular still even though it's a simple language syntactically (though difficult to work with because you have to be careful managing your pointers).



C++ is an object-oriented language and native. It was designed as a compatible extension to C. OOP and utility libraries make it easier to work with than C.



Java is object-oriented as well, but runs in a virtual machine that interprets Java binaries to run on an operating system. Since it requires a VM to run, Java is only available on machines where the VM has been ported.



Note that each language is closely related, but different enough that you don't need to know any of the others to work with any one of them. Being a great C programmer won't make you a great C++ programmer because each language has it's on idiosyncrasies.
Saswat Mohanty
2012-06-25 05:22:38 UTC
Correctly explained by the above guy.

So, you need to learn C first then C++ and then JAVA for easy understanding and programming. But learn C efficiently and throughly, this way other prog. langs like .NET and PHP will also become easier.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...