What will be output of this String equality comparison?
package quiz; public class StringCompare { public static void main(String[] args) { String s1 = new String ("Hello"); String s2 = "Hello"; System.out.println(s1 == s2); } }
© 2015 – 2016, https:. All rights reserved. On republishing this post, you must provide link to original post