单项选择题

设int a=10,b= 11,c=12;,表达式( a + b) < c & &b= =c的值是( )。

A.类A的成员即类B的成员
B.类B的成员即类A的成员
C.类A的成员函数不得访问类B的成员
D.类B不一定是类A的友元
<上一题 目录 下一题>
热门 试题

单项选择题
在结构化程序设计中,模块划分的原则是
A.各模块应包括尽量多的功能
B.各模块的规模应尽量大
C.各模块之间的联系应尽量紧密
D.模块内具有高内聚度、模块间具有低耦合度
单项选择题
以下叙述中正确的是( )。
A.Private Sub Form_Mouse Down(Button As Integer,Shift As Integer,-     X As Single,Y As Single)  If Button=2 Then PopupMenu Bs,2  End Sub
B.Private Sub Form_MouseDown(Button As Integer,Shift As Integer,-        X As Single,Y As Single)    PopupMenu Bs  End Sub
C.Private Sub FOrm_MouseDown(Button As Integer,Shift As Integer,-       X As Single,Y As Single)    PopupMenu Bs,0  End Sub
D.Private Sub Form_MouseDown(Button As Integer,Shin As Integer,-       X As Single,Y As Single)    If(Button=vbLeftButton)Or(Button=vbRightButton)Then PopupMenu Bs  End Sub
相关试题
  • 静态成员函数可以直接访问类的【 】成员,...
  • cout.put(’’A’’);,还可以表示为【...
  • 软件生命周期可分为多个阶段,一般分为定义...
  • 继承的方式有公有继承、私有继承和【 】3种。
  • C++语句const char * const p= he...