试题与答案

以下关键字不能用来声明类的访问权限的是A.public B.static C.pro

题型:单项选择题

题目:

以下关键字不能用来声明类的访问权限的是

A.public

B.static

C.protected

D.private

答案:

参考答案:B

解析: 类的访问权限有public、prirate、protected 3种方式。

试题推荐
题型:单项选择题

Mobile computers-which (71) laptops, notebooks, subnotebooks and handhelds- (72) so ubiquitous in such a short time, no surprise to hear who say: "It will define the leading edge (73) the next five years or so." The most remarkable (74) mobile computers is the amount of data storage and memory packed (75) their tiny boxes. These devices not only handle windows easily but also run storage-hungry programs.

(71)处是()

A.included

B.include

C.have included

D.have become

E.had become

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