- 相關(guān)推薦
筆試題(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】相關(guān)文章:
360筆試題目06-27
筆美國國家儀器試題目09-23
搜狐產(chǎn)品筆歸分享筆試題目07-05
新浪筆經(jīng)04-27
新聞總署筆經(jīng)10-13
IBM公司筆經(jīng)09-15
營(yíng)銷卷筆經(jīng)10-25
科勒筆經(jīng)09-23
愛立信機(jī)考筆經(jīng)07-23