Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package crossnum;
- /**
- * Represents a base 9 number, containing digits from 1 to 9.
- *
- * @author dub_nerd
- *
- */
- public class Base9 extends DigitCombo {
- /**
- * A base 9 number is a digit combo in base 9. We want
- * the digits to go from 1-9 rather than 0-8.
- *
- * @param numDigits the number of digits in this base 9 number.
- */
- public Base9(int numDigits) {
- super(numDigits, 9, 1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement