What is the difference between == & .equals()?
The == and eqauls() method, both are used to check the equality of the two strings,
but in the different sense.The eqauls() method put the two strings in the two different
arrays and compare the characters one by one. If all the characters are matched then this
return true otherwise false.The == operator checks wheater the two strings points to
the same the object or not. The == operator checks the bit pattern of the two references.