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.
I really couldn't imagine that this Kata is that level of a pazzle. It seems like a hidden bonuce quest about the Java language understanding.
I dont think that all the responses were helpful, but thank you anyway for spending time to answer me. ... and yes, I got through. :)
Read the statements that you find
Now focus on this part
Now add the semicolons of the imports with those of your code
Notice that the result of the above expression is not in your favor
Isn't that a semicolon?
you have TWO semicolons, please limit it to ONE.
That's why you get the 1 semicolon :P But that's it.
Can it be clarified? How can we write Java code without any semicolons? we need at least one for the return expression.
All non-lazy solutions are invalidated and no new have appeared in the meantime so issue seems sufficiently fixed.
Well, the 1 semicolon limit includes the imports too. It's not really a kata issue.
Another one string solution ^^. Good choice.
Thank you. I have enjoyed solving this kata.
thanks,
the example shows that extention methods contribute a great deal to the readability of code.
I'd ask one question to author - WHY...why? =))) Thanks for good idea and challenging Kata!
This comment is hidden because it contains spoiler information about the solution
c#: I don't understand how the semicolons are counted:
the body consists of: { return xxxx; }
but Test Failed
Too many semicolons found. Only 1 allowed.
Expected: 1
But was: 4
Loading more items...