Expeditors Interview Question

How would you compare a string in Java?

Interview Answer

Anonymous

Jun 2, 2025

Since everything is an object in Java, you would want to use the .equal() method.