Expeditors Interview Question

How to compare strings in Java