But IT IS the same for classes and functions. The function declaration is a prototype - it tells the compiler "there's some function, and it takes some parameters", but nothing about what the function actually does. A function definition, like it's class counterpart, defines what is in the function (what it does).
--
Mats