#include <iostream>
using namespace std;
class Greeting {
public:
static void sayGoodby(string message = "Goodby!") {
cout << message << endl;
}
static void sayHello(string message = "Hello!") {
cout << message << endl;
}
};
Greeting::sayGoodby();
//输出 "Goodby!"
Greeting::sayHello("Hi");
//输出 "see you"