Ask Question
4 January, 00:18

The size of the board is one of the differences between Elevens and Thirteens. Why is size not an abstract method?

+1
Answers (1)
  1. 4 January, 03:59
    0
    The program keeps track of the size of the board in cards. size (). The sub class sets this by passing it into the constructor. After that, the subclass never cares about the size of the board, so it's not necessary to make it accessible with an abstract method. Any need for it is covered by cardIndexes method.

    Explanation:

    The differences between Elevens and Thirteens

    The program keeps track of the size of the board in cards. size (). The sub class sets this by passing it into the constructor. After that, the subclass never cares about the size of the board, so it's not necessary to make it accessible with an abstract method. Any need for it is covered by cardIndexes method.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “The size of the board is one of the differences between Elevens and Thirteens. Why is size not an abstract method? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers