I have added the

`final`

keyword to all the constants in the class. Yet the code still failspackage en.codegym.task.pro.task06.task0614;
/*
Remembering geometry
*/
public class Solution {
public static final double pi = 3.14;
public static final double radius = 2.5;
public static final double diameter = 5;
public static void main(String[] args) {
System.out.println("The area of the circle is: " + pi * radius * radius);
System.out.println("The perimeter of the circle is: " + pi * diameter);
}
}

the radius variable has the finalmodifier." It's misleading.variables". But the task says this: "The final modifier must be set on allconstants". Here, probably, pi (a mathematical constant, an absolutely immutable value) is the only one constant. But radius and diameter can be any size.