1 public class PalindromeTester
2 {
3 public static void main(String[] args)
4 {
5 Sentence s1 = new Sentence("Madam, I'm Adam!");
6 System.out.println(s1.isPalindrome());
7 System.out.println("Expected: true");
8 Sentence s2 = new Sentence("Sir, I'm Eve!");
9 System.out.println(s2.isPalindrome());
10 System.out.println("Expected: false");
11 }
12 }