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