填空题

静态成员函数可以直接访问类的【 】成员,不能直接访问类的【 】成员。

【参考答案】

静态
<上一题 目录 下一题>
热门 试题

填空题
以下程序的执行结果为【 】。#include<iostream>using namespace std;class base{public:virtual void who( ){cout < < base class < <end1;};class derivel:public base{public:void who( ){cout < < derivel class < <end1;};} class derive2:public base{public:void who( ){cout< < derive2 class < <end1;}};void main( ){base obj1,* p;derivel obi2;derive2 obj3;p=&obj1;p->who( );p=&obj2;p->who( );p=&obj3;p->who( );}
填空题
在E—R图中,矩形表示______ 。
相关试题
  • 下列软件系统结构图的宽度为【 】
  • C++语句const char * const p= he...
  • 下面程序的运行结果是【 】和【 】。#in...
  • 表达式operator + (x,y)还可以表示为...
  • 有以下程序:int sub(int n) { retu...