✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Mis värvi on ring?
Circle ring = new Circle(50, Color.RED);ring.setOnMouseClicked( event -> { if (ring.getFill() == Color.RED) ring.setFill(Color.BLUE); else ring.setFill(Color.YELLOW); });