These overseas students show great ______ for learning a new language.
A)enthusiasm B)authority C)convention D)faith
第1题:
第2题:
8、设有下面的一个类定义: class AA { static void show(){ System.out.println(“我喜欢Java!”); } } class BB { void show(){ System.out.println(“我喜欢C++!”); } } 若已经使用AA类创建对象a和BB类创建对象b,则下面哪一个方法调用是正确的?()
A.show() b.show()
B.AA.show() BB.show()
C.AA.show() b.show()
D.a.show() BB.show()
第3题:
创建students对象,_______语句可以选出第二个同学的身高。 students数据如下: age height weight 1 19 170 68 2 20 165 65 3 18 175 65
A.students[1,'height']
B.students.loc[2,'height']
C.students.iloc[1, 1]
D.students['height'][3]
第4题:
p是指向PERSON类对象的指针,则通过p访问公有成员函数show()的方法是。
A.p.show();
B.p->show();
C.(*p).show();
D.(*p)->show();
第5题:
声明并创建一个学生类Student的对象s,下列语法格式正确的是()。
A.Student s = Student();
B.Student s;
C.Student s = new Student();
D.Student s = new ();
第6题:
创建students对象,_______语句可以选出第二个同学的身高。 students数据如下: age height weight 1 19 170 68 2 20 165 65 3 18 175 65
A.students.loc[2,'height']
B.students.iloc[1, 1]
C.students[1,'height']
D.students['height'][3]