Hi All,
String a = "hello";
char[] d = { 'h', 'e', 'l', 'l', 'o' };
System.out.println(a.equals(d));
output : false
Please can any body explain why out put is "false" ?
String a = "hello";
char[] d = { 'h', 'e', 'l', 'l', 'o' };
System.out.println(a.equals(d));
output : false
Please can any body explain why out put is "false" ?