答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【判断题】【消耗次数:1】
当我们希望某些数据在内存中只有一份,并且可以被类的所有实例对象所共享,那么就将该属性声明成静态属性。
①
正确
②
错误
参考答案:
复制
纠错
相关题目
【判断题】
当我们希望在不创建对象的情况下调用某个类的方法时,可以将这个方法声明成静态方法。
①
正确
②
错误
查看完整题目与答案
【判断题】
确定属性时,可以把关联类的属性当作一般对象的属性。
①
正确
②
错误
查看完整题目与答案
【单选题】
用户窗体中对象Name属性和Caption属性,下面说法()错误。
①
Name是在代码中被引用的名称,而Caption属性不是
②
Name属性和Caption属性始终都保持一致
③
Name和Caption属性在创建对象时是一样的,都可以被修改
④
Name属性和Caption属性可以修改成不一样的字符串
查看完整题目与答案
【单选题】
如果对象的名称为Mytext,而且对象有一个属性Text,那么在代码中引用该属性的正确格式是()。
①
Text.Mytext
②
Mytext.text
③
Mytext.(Text)
④
Mytext*Text
查看完整题目与答案
【单选题】
如果对象的名称为Mytext,而且对象有一个属性Text,那么在代码中引用该属性的正确格式是()。
①
Text.Mytext
②
Mytext.text
③
Mytext.(Text)
④
Mytext*Text
查看完整题目与答案
【判断题】
schema元素的elementFormDefault属性的取值为"qualified"或“unqualified”,当该属性的取值为“qualified”时,指出任何XML实例文档所使用的且在此schema中声明的元素必须被名字空间限定。
①
正确
②
错误
查看完整题目与答案
【判断题】
局部声明的元素或属性名称在schema文档中唯一,且可以使用ref属性在一个或多个声明中引用。
①
正确
②
错误
查看完整题目与答案
【单选题】
如果类A被声明成类B的友元,则( )
①
类A的成员即类B的成员
②
类B的成员即类A的成员
③
类A的成员函数不得访问类B的成员
④
类B不一定是类A的友元
查看完整题目与答案
【单选题】
如果类A被声明成类B的友元,则( )
①
类A的成员即类B的成员
②
类B的成员即类A的成员
③
类A的成员函数不得访问类B的成员
④
类B不一定是类A的友元
查看完整题目与答案
【判断题】
属性集U是关系R所有属性的集合,那么U一定是R的超码。
①
正确
②
错误
查看完整题目与答案
随机题目
【单选题】
Free ______ of shampoo is distributed from door to door.
①
sample
②
example
③
product
④
stock
查看完整题目与答案
【单选题】
A police officer claimed he had attempted to _______ paying his fare.
①
avoid
②
reject
③
refuse
④
neglect
查看完整题目与答案
【单选题】
He is late again today. I’ll ____ that he will not be late tomorrow.
①
refer to it
②
look to him
③
see to it
④
turn to it
查看完整题目与答案
【单选题】
Must I take a taxi?No, you _______. You can take my car.
①
had better to
②
don’t
③
must not
④
don’t have to
查看完整题目与答案
【单选题】
So clear was his _____ of the case that others had no more to say.
①
attitude
②
presentation
③
comment
④
remark
查看完整题目与答案
【单选题】
When Lily came home at 5 p.m. yesterday, her mother ______ dinner in the kitchen.
①
cooked
②
was cooking
③
cooks
④
has cooked
查看完整题目与答案
【单选题】
Our customers are complaining of the ______ quality of our products.
①
gracious
②
wonderful
③
superior
④
inferior
查看完整题目与答案
【单选题】
make a ___________
①
schedule
②
timetable
③
major
④
career plan
查看完整题目与答案
【单选题】
the fact()we may not be able to directly assist you does not mean your complaint isnt valid.
①
which
②
whom
③
who
④
that
查看完整题目与答案
【单选题】
The footballer made a (n) _____ gesture, which made the audience’s blood boil.
①
mature
②
offering
③
offensive
④
hesitative
查看完整题目与答案