62.4k views
0 votes
Which of the following statements creates a constant in Java?

A.int const = 5;
B. const int x = 5;
C. final int x = 5;
D. const x = 5;

1 Answer

2 votes

Answer: C

Explanation: C establishes a constant integer of 5 as x

User Joma
by
8.1k points