winsonkwok (7) [Avatar] Offline
#1
Miss the amount field of invoice class and the getAmount() function in p31

class Invoice {
private double Amount;

public double getAmount() {
return Amount;
}
...
aslam.khan (50) [Avatar] Offline
#2
Re: Missing field in invoice class
Amount is not that important in this example. However, since it did introduce some confusion, I will look at how to alert everyone to code that should be inferred or deliberately left out because it will add noise.