public class Main {
public static void main(String[] args) {
String strA = "text";
String strB = "text";
strA += "1";
strB += "1";
System.out.println(strA != strB);
strA = "text1";
strB = "text1";
System.out.println(strA != strB);
}
}
String strA = "text"; String strB = "text"; strA += "1"; strB += "1"; System.out.println(strA != strB); strA = "text1"; strB = "text1"; System.out.println(strA != strB);
2018 Jan 2, 8:56:31 PM
Login in to like
Login in to comment