In case you were gaping in awe at the advantages of Java No templates
Java doesn't support templates yet, although Java has a mechanism similar to Java classes can only inherit the implementation of one base class.
There is a separate Java mechanism called an C provides generic Limited support for
const
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
interface
,
which allows a class to inherit the interface No enums No string formatting routinesprintf
and its variants for formatted
output. C++ supports the C routines, and also provides stream output
with formatting. Java provides nothing in this regard!