Why couldn't I make this static function work? Arent static member functions made so i can call them withtout making an object of that class?Code:#include <iostream> using namespace std; class test { public: static string justAFunction(); private: }myTest; string test::justAFunction() { return string("I'm just testing..."); } int main() { cout<<test.justAFunction(); }