public class Divide { private int z; public Divide (int x, int y) { z = x/y; } public double getValue () { return z; } }