问题 单项选择题

Java中定义常量的保留字是______。

A.const
B.final
C.finally
D.native

答案

参考答案:B

解析: final是最终的修饰符,其修饰的是常量。

判断题
选择题