Roj
07-08-2000, 07:11 AM
Hi All
What is the difference between Java and C++?
What is the difference between Java and C++?
|
Click to See Complete Forum and Search --> : What is the difference between Java and C++ Roj 07-08-2000, 07:11 AM Hi All What is the difference between Java and C++? Brian 07-10-2000, 09:56 AM While I've only read a lot about the language (I'll be developing in it soon, though), let me take a stab at this.. While Java has some syntactic similarities to C++, they are not fundamentally that alike. C++ is a superset of C, with added OO functionality. Java is purely OO. Everything is a class. Java is strongly typed, C++ is not. Java has automatic garbage collection, C++ does not (how well the garbage collection works is another matter). C++ has multiple inheritance, Java does not (although multiple inheritance of interfaces is allowed). Java has no pointers or low-level manipulation of the hardware (references are similar, though). For this reason, Java is generally an easier language to pick up.. However, coming from any procedural language, it takes some time to develop effectively in an OO-language. Anyone, please add to this list.. I'm sure there's lots I've missed.. Brian devx.com
Copyright Internet.com Inc. All Rights Reserved |