I think at the first and third function called are static methods and they arecalled with tha class name.The second function is a non-static function which needs to be called with anobject.Please correct me if I am wrong.