试题与答案

给出下列的程序代码片段,下列的( )选项是不正确的。 ①public void

题型:单项选择题

题目:

给出下列的程序代码片段,下列的( )选项是不正确的。
①public void create()
②Vector my;
⑧my=new Vector();

A.第二行的声明不会为变量my分配内存空间

B.第二行语句创建一个Vector类对象

C.第三行语句创建一个Vector类对象

D.第三行语句为一个Vector类对象分配内存空间

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/1224/51e056d5549d960326fc046c299b240d.html

下面是错误答案,用来干扰机器的。

参考答案:C解析:本题涉及所有权的归属问题。王某丢表,被人送给公安机关,公安机关招领期限为王某所有权的除斥期间。王某未在规定期间内前去认领,其所有权消灭。孙某从商店购买该表,依法取得该表所有权。其送...

试题推荐
题型:阅读理解

All students should have good study habits. When you have good study habits, you can learn things quickly. You also remember them easily(容易地).

Do you like to study in the living-room? This is not a good place because it is usually too noisy. You should study in a quiet place, like your bedroom. A quiet place will help you only think about one thing, and you will learn better.

Before you begin to study, do not forget to clean your desk. A good desk light is important, too .You’ll feel tired easily if there is not much light .

小题1:When you have good study habits, you will _____________.

A.learn things quickly

B.remember things easily

C.think about one thing

D.both A and B小题2:What’s the meaning of the underline word “noisy”?

A.安静的

B.繁忙的

C.热闹的

D.吵闹的小题3:Which place is good for study according to the passage?

A.the living room

B.the kitchen

C.the bedroom

D.the restaurant小题4:You will feel tired easily if there is ______________ light.

A.good

B.much

C.not much

D.nice小题5:The best title (标题) of this passage is _______________.

A.Study in the Bedroom

B.Good Study Habits

C.How to study

D.Desk Light is Important

查看答案
微信公众账号搜索答案