CSC300: String Operators [9/23] Previous pageContentsNext page

String x = "Hel" + "lo";
String y = "Hel" + "lo";
x=Hello, y=Hello
                  x==y : true
   Objects.equals(x,y) : true
           x.equals(y) : true
eqs03

Previous pageContentsNext page