A good answer might be:The complete search() follows: | |
Completed SearchHere is the completed search() method.
You may be uncomfortable with this expression: phoneBook[ j ].name.equals( targetName ) Look at it piece by piece:
This is fairly complicated, and if you are still uncomfortable don't worry too much. But you probably won't like the question. | |
QUESTION 21:Does the expression do the same thing as the above expression? Click Here after you have answered the questiontargetName.equals( phoneBook[ j ].name ) |