Lo
2014-07-15 13:44:49 UTC
(i) CC one = new CC(5,6);
(ii) CC two = new CC();
(iii) CC three = new CC(2, 8, 3.5);
I honestly don't even know where to begin with this. Would the first answer be CC(5,6) and the second answer just be CC(5).... I honestly don't know. Can someone help me understand recursion!? Thank you in advanced!
class CC {
private int u;
private int v;
private double w;
public CC() {} // CC1
public CC(int a) {} //CC2
public CC(int a, int b) {} //CC3
public CC(int a, int b, double d) {} //CC4
}