Throw a ()to the person overboard and help him come on board.
第1题:
A、person who is expert in the choice of food
B、person who is on diet
C、person who can eat a lot
D、person who can cook
第2题:
下列程序中需要清理动态分配的数组,划线处应有的语句是_______。
include<iostream.h>
class person
{
int age,tall;
public:
person( ){age=0;tall=40;cout<<"A baby is born."<<endl;}
person(int i){age=i;tall=40;cout<<"A old person."<<endl;}
person(int i,int j){age=i;tall=j;cout<<"a old person with tall."<<endl;)
~person( ){cout<<"person dead."<<endl;}
void show( )
{
cout<<"age="<<age<<",tall="<<tall<<endl;
}
};
void main( )
{
person*ptr;
ptr=new person[3];
ptr[0]=person( );
ptr[1]=person(18);
ptr[2]=person(20,120);
for(int i=0;i<3;i++)
ptr[i].show( );
______
}
第3题:
A. throw to
B. throw to
C. throw at
D. throw away
第4题:
Which the statement is true?()
第5题:
If you see anybody fall overboard, act as follows except ______.
A.tell an officer / crew the person’s position in the water, or telephone the bridge immediately
B.throw lifebuoys overboard
C.call out “ man overboard ” and keep your eyes on the person in the water
D.try to find medicine for the person to use when he is rescued
第6题:
Happiness is a feeling which varies from person to person.()
第7题:
给出下列的不完整的方法,则下列的哪个声明可以被加入①行完成此方法的声明? ① ② { success = connect( ); ③ if (success = = - 1 ) { ④ throw new TimedoutException( ) ⑤ } ⑥ }
A.public void method( )
B.public void method( ) throws Exception
C.public void method( ) throw TimedoutException
D.public throw TimedOutException void method( )
第8题:
人际传播型(person to person transfer)
第9题:
异常捕获发生在()块中?
第10题:
程序读入用户输入的一个值,要求创建一个自定义的异常,如果输入值大于10,使用throw语句显式地引发异常,异常输出信息为“something’s wrong!”, 语句为()。