// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
public class SBS21 {
    public static class P {
        public P(double x) {
            System.out.printf("x=%f\n", x);
        }
    }
    public static class C extends P {
        public C(int v1, int v2) {
            super(v1 * 1.0 / v2);
            System.out.printf("x=%f\n", v1 * 1.0 / v2);
        }
    }
    public static void main(String[] args) {
        new C(3, 2);
    }
}
