static Initialization
C++ does not use the message-passing syntax of invoking static functions.
d = Math.sqrt (d); // Java -- invoke static function sqrt
Date::setDefault(12,7,42); // C++ -- use qualified name
Previous slide
Next slide
Back to first slide
View graphic version