String related question
Posted on 2004-08-20
Have a look on following code. I know that for comparision of Strings, we need to use equals() method. But When I test following code, it is always prints "Hello". How come this is possible??
public static void main(String args)