对类中声明的变量,下列描述中正确的是()
A.
属于全局变量
B.
属于该类,某些情况下也可被该类不同实例所共享
C.
只属于该类
D.
任何情况下都可被该类所有实例共享
正确答案是B
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/239836.html
上一篇:家庭预算线曲线离原点越远,表示消费者所得到的总效用越大。()
下一篇:Answer the following questions. Your answers should be clear and short.Can you determine the meaning of the words in bold type in each of the following sentences? Explain and make some alterations in the context so as to pin down the meaning.