Java for C++ Developers - Disadvantages

[template] Next [Start] Start

In case you were gaping in awe at the advantages of Java No templates

Java doesn't support templates yet, although generic Limited support for const

Java has a mechanism similar to const for declaring named constants, but lacks const support in other areas (such as parameters to methods, const objects, methods only applicable to const objects, and returning pointers to const Cut-down version of multiple inheritance

Java classes can only inherit the implementation of one base class. There is a separate Java mechanism called an interface, which allows a class to inherit the interface No enums No string formatting routines

C provides printf and its variants for formatted output. C++ supports the C routines, and also provides stream output with formatting. Java provides nothing in this regard!