Someone
public text v1 · immutablepublic static void main(String[] args) {
String test1 = "00:22:22:22";
String test2 = test1.substring(0,5);
test1 = test1.substring(0,5);
System.out.println(test1 == test2);
}public static void main(String[] args) {
String test1 = "00:22:22:22";
String test2 = test1.substring(0,5);
test1 = test1.substring(0,5);
System.out.println(test1 == test2);
}