Type a class with a blank final field set in the constructor
Type a class with a blank final field set in the constructor
Answer
private final double radius; Circle(double r) { this.radius = r; }
radius has no initialiser at declaration, so every constructor must assign it exactly once. Missing it in any constructor is a compile error.