Yes, you're right bro. I noticed it when I tried to track the 'equals' method and it refers to 'equals (Object o)' in java default class. until I changed my code to
but it's not practical work.
Yes I put your code & it works fine. Also I can choose any entry to compare with. thanks.....
Code:
Entry e = new Entry(14, true );
if(e.equals(new Entry(14, true)))
Yes I put your code & it works fine. Also I can choose any entry to compare with. thanks.....
Comment