声明一个函数的时候,不可能用到的关键字是()
定义类头时,不可能用到的关键字是A.classB.privateC.extendsD.public
点击查看答案
若要将控制权交还给操作系统,则实现的语句为()。A.ExitB.End SubC.Exit subD.End
要在代码编辑器的“通用/声明”段部分定义私有Function函数,则正确的是()。A. Public SubB. Public FunctionC. Private SubD. Private Function
要在代码编辑器的“通用/声明”段部分定义私有Function函数,则正确的是()。DA. Public SubB. Public FunctionC. Private SubD. Private Function
友元函数是在类声明中由关键字friend修饰说明的类的成员函数。( )此题为判断题(对,错)。
在窗体上画一个名称为Text1的文本框,要求文本框只能接收大写字母的输入。以下能实现该操作的事件过程是( )。A.Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii 90 Then MsgBox "请输入大写字母" KeyAscii = 0 End If End SubB.Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode 90 Then MsgBox "请输入大写字母" KeyCode = 0 End If End SubC.Private Sub Text1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) If Asc(Text1.Text) 90 Then MsgBox "请输入大写字母" End If End SubD.Private Sub Text1_Change() If Asc(Text1.Text) > 64 And Asc(Text1.Text) < 91 Then MsgBox "请输入大写字母" End If End Sub
要结束一个线程,需要调用()函数。A、exitB、pthread_quitC、pthread_exitD、return