Ask Question
18 March, 07:35

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

+3
Answers (1)
  1. 18 March, 10:31
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers