It doesn't have anything to do with your ListNode class. You should copy and paste your error messages, I'd say you've mistyped the one in your original post. What you probably have in your source,...