Given the class:
public class Clazz {
    public static void main(String[] args) {
        // input here
    }
}
which of the following definitions can be added to it so that it successfully compiles?
Explanation
Java language keywords such as names of primitive types like byte and char cannot be used as variable names.
Default library class names such as String, Byte, and Char are not considered to be keywords and may be used as variable names.
The string identifier is not a Java keyword and can also be used as a variable name.

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Продовжуйте вивчати
тести з Java
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести