- 相关推荐
笔试题(using namespace std)
using namespace std;
class A
{
protected:
int m_data;
public:
A(int data = 0){m_data = data; }
int GetData(){return doGetData();}
virtual int doGetData(){ return m_data;}
};
class B:public A
{
protected:
int m_data;
public:
B(int data = 1){m_data = data; }
int doGetData(){ return m_data;}
};
class C:public B
{
protected:
int m_data;
public:
C(int data = 2){m_data = data; }
};
【笔试题using namespace std】相关文章:
360笔试题目06-27
笔美国国家仪器试题目09-23
搜狐产品笔归分享笔试题目07-05
新浪笔经04-27
新闻总署笔经10-13
IBM公司笔经09-15
营销卷笔经10-25
consulting firm笔经05-06
科勒笔经09-23
爱立信机考笔经07-23