reset password
Author Message
ChristopherNg
Posts: 17
Posted 19:49 Oct 08, 2016 |

I'm having trouble understanding number 2 under the python implementation which says:

" 2. Create a Card abstract class that has an integer value (these must be instance attributes). The Card class also has a constructor that takes in the int value "

The also in the second sentence is throwing me off, hinting that there should be two int value variables in the Card class. Wouldn't the instance attribute (in the first sentence) be inside the constructor, that takes in that int value, in the first place?

msargent
Posts: 519
Posted 20:02 Oct 08, 2016 |

I updated the homework with a clarification. The constructor takes an int and sets the instance attribute to that int.