I've gotten two solutions that work but don't satisfy the requirements, so I don't think I fully understand the task prompt. Is it wanting me to compare the contents or address of the strings? And what does 'pairwise' comparison mean? I assume it's a term for one of those comparison type, but this is this first place I've seen it. Was it mentioned in the lesson and I missed it?
Clarification of task?
New
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Matthew Riggs
16 December 2023, 19:32
The lesson was about using (x.equals(y)) so why was I supposed to use (==) instead? I get that they compare things differently, but I'm not sure when to use which one
0