0
How to compare two objects using "IF STATEMENT " in Linked list?
2 Answers
+ 1
if you have two of your own object's you could write an boolean function equal which compares all attributes with each other. Then you can easily compare them in the linkedList by using this function
0
INTERFACE ICOMPARABLE or redefine operator ">,<,=="