#include <iostream>
using namespace std;
class clsContoh{
private:
int a;
public:
void setData(int b){
a=b;
}
void getData(void){
cout<<a;
}
};
int main() {
clsContoh objContoh;
objContoh.setData(100);
objContoh.getData();
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmNsYXNzIGNsc0NvbnRvaHsKCXByaXZhdGU6CgkJaW50IGE7CglwdWJsaWM6CgkJdm9pZCBzZXREYXRhKGludCBiKXsKCQkJYT1iOwoJCX0KCQl2b2lkIGdldERhdGEodm9pZCl7CgkJCWNvdXQ8PGE7CgkJfQp9OwppbnQgbWFpbigpIHsKCWNsc0NvbnRvaCBvYmpDb250b2g7CglvYmpDb250b2guc2V0RGF0YSgxMDApOwoJb2JqQ29udG9oLmdldERhdGEoKTsKCXJldHVybiAwOwp9