[Solved] Add to integers stored in LinkedList [closed]


Try the following:

long result = a.get(0) + b.get(0);

Then deal with result

solved Add to integers stored in LinkedList [closed]