Q. Which of the following is a valid way to declare a constant in Java?
β
Correct Answer: (D)
final double PI
Explanation: The correct answer is Option D: final double PI.