.. (לתיקייה המכילה) | ||
Where should I initialize the Base class variable? | |
You are allowed to add auxiliary methods to the class, you can add a method which will initialize Base to some numerical constant. |
In the method setFrom: you didn't sepecify the base of the integer argument? | |
The base of the integer is of course 10. |
In the Introduction "Mavo" it says that all the classes must inherit from Object | |
You are allowed to inherit from Link as well. |
If no digits were added to the UnlimitedInteger, and we are asked to print it, what should we print | |
if base is initialized to 5: 0[5] |
What type should Anagrames count: UnlimitedInteger return? | |
You can return either an Integer or an UnlimitedInteger. |
What should be the value of a newly created UnlimitedInteger be (before adding any digits)? | |
0 |
What should we do with newly created UnlimitedIntegers? | |
Because the subject of newly created UnlimitedIntegers is not well defined. I will not check it. |
In the method setFrom: anInteger what to do with a negative integer? | |
You can set the value of your Unlimitedinteger to 0, but this won't be checked. |