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.
Futhermore, to avoid NPE, use the expected String as first argument:
"needle".equals(haystack[i])
Thanks for the advice! :)
Thanks for valueable advice!
Thank you!
Thanks! Yeah, now i know about method "equals".
You are definitely right! Thank you!
Cheers dude , I'll be using that method from now on.
Points are awarded within a background process and sometimes the update doesn't happen immediately. It looks like you were eventually awarded the honor.
thank you, i will. Everything in Java is an object, i know... :-)
Thank you very much for the information. This type of criticism help me learn.
I appreciate the input! I'm new to Java (coming from a background in JavaScript) so any help is appreciated. I'll take a look at the .equals() method and refactor my code.
You're right - didn't know that back then :-) Thanks!