Which of the following is a valid constant declaration in Java?
2 Likes
final int x = 10;
Reason — In Java, constants are declared using the final keyword. The correct way is:
final
x
Answered By
There are 128 set of different characters used in a Java program.
Which of the following is a valid java keyword?
The size of '\n' is: