Hello,
Actually i wanted to know the exact difference between equals and ==
as far as i have understood from
scjp 5 K & B,,
i have concluded that equals() compares values whereas == compares values as well as object type..
but when i run code it gives unexpected answers everytime....
can anyone please explain me what is the exact meaning of these two??