...
Code Block |
---|
class Person { /** * Computes the number of months till the next birthday given the current month. */ intnMonthTillBD(intcurrentMonthint nMonthTillBD(int currentMonth) { // todo } } |
Notice in the above there is really no concrete code. As a matter of fact, the above would not compile. Now we must abandon everything and start writing test code for nMonthTillBD(...).
...