Java: Are chars " and \" the same? -
given:
char x = '"'; char y = '\"';
are x , y equal?
they equal. (the link executes following test)
class foo{ public static void main(string[] a){ system.out.println('"' == '\"'); // prints true } }
Comments
Post a Comment