Quote:
Java is superior to C++ in the following ways:
1) Pure object oriented design (ie nothing can be outside a class).
2) No multiple inheritance (can make for really messy code)
3) No pointer arithmetic (actually, this is more of a disadvantage at times)
4) Lots and lots of APIs in the standard distribution (so no learning a new API for something as trivial as GUI programming).
5) No friend functions, templates and generic functions (yay!!!!)
6) No scope resolution operator.
7) Everything, including the primitive datatypes are derived from class Object, allowing for easy type casting and removing the need for the stuff in (5).
8) Write once run anywhere (platform independence)
9) Allows you to write server side scripts (or programs) with ease.