class StringObj {
public static void main
(String[] args
) { d = "ABC";
System.
out.
println(a
[1] == b
); System.
out.
println(a
[1] == c
); }
}
Y2xhc3MgU3RyaW5nT2JqIHsKIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsKICBTdHJpbmdbXSBhID0geyJERUYiLCAiQUJDIn07CiAgU3RyaW5nIGIgPSAiQUJDIjsKICBTdHJpbmcgYyA9ICJBIiArICJCIiArICJDIjsKICBTdHJpbmcgZCA9IG5ldyBTdHJpbmcoKTsKICBkID0gIkFCQyI7CiAgU3lzdGVtLm91dC5wcmludGxuKGFbMV0gPT0gYik7CiAgU3lzdGVtLm91dC5wcmludGxuKGFbMV0gPT0gYyk7CiAgU3lzdGVtLm91dC5wcmludGxuKGMgPT0gZCk7CiB9Cn0=