Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
sorry but i dont have computer, i use mobile
Great job on your work, your code is clean and well-structured, but the use of inheritance for
Fizz
and others is unnecessary since they don't share the same behavior ofIsPrimeNumber
. You may also consider reusing your class methods insideexecute()
function to avoid unwanted object creation and to improve efficiency.' takes a few less ms to type than " because you don't have to hold shift.