Squash Apps Interview Question

Write a java program to test whether two strings are equal or not.