public class RingiPindala implements Arvutatav{ public double f(double r){ return Math.PI*r*r; } }