Question: Which code checks whether the characters in two Strings,named `time` and `money`, are the same?
- `if(time <> money){}`
- `if(time.equals(money)){}`
- `if(time == money){}`
- `if(time = money){}`
Answer: The correct answer of the above question is Option B:`if(time.equals(money)){}`