"String".endsWith [1]

指定文字列で終わるか真偽します。equals メソッドが使われています。

if (s1.endsWith("ho")) {
    System.out.println("true");
}