Ask Question

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

+5
Answers (1)
  1. 29 September, 23:33
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers