-->
当前位置:首页 > 题库

单选题:Given a public member variable `MAX_LENGTH` as the `int` type is

Luz5年前 (2021-05-10)题库1584
Given a public member variable `MAX_LENGTH` as the `int` type is a constant of 100, the correct statement to define the variable is: @[D](2)

A. public int MAX_LENGTH=100
B. final int MAX_LENGTH=100
C. public const int MAX_LENGTH=100
D. public final int MAX_LENGTH=100





A.public int MAX_LENGTH=100
B.final int MAX_LENGTH=100
C.public const int MAX_LENGTH=100
D.public final int MAX_LENGTH=100


答案:D