#include <iostream>
#include <string>
using namespace std;
class Abstract {
protected:
 static string str;
public:
 virtual void method() = 0x00;
};
class Specific : public Abstract {
public:
 Specific() {str = "これコンパイルできる?";}
 void method() {cout << str << endl;}
};
int main() {
 Abstract* a = new Specific();
  a->method();
 delete a;
 return 0;
}