I completed the task and got all the checks green.
But why are my solutions in this format?
Solution$Cat@15db9742
Solution$Cat@6d06d69c
Solution$Cat@7852e922
why are my solutions coming out like this?
Under discussion
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Gellert Varga
3 June 2020, 22:58
This method:
returns a boolean (true or false).
So when i wrote this in my code:
then my output was this:
true.
What You wrote: "Solution$Cat@7852e922" - this is the reference to one of your Cat-objects (memory-address).
But why display your program this, that can be say only if You copy here your printing command. (via the "Reply" button.) 0
Gellert Varga
3 June 2020, 23:02
Or would I rather ask what you wrote for the 'return' command? .. :)
0