CHAPTER 5 UNDERSTANDING ENCAPSULATION
}
currPay = pay;
I am sure you can see the problem with this approach. The Name property and your master
constructor are performing the same error checking! If you were also making checks on the other data
points,