How to code a list that has a method, i.e. sum(), that returns the sum of the element(s) in the list if all element(s) in the list are integer or number, and returns the concatenation of string of characters if all element(s) in the list are string (type) using Java to implement the concept of polymorphism in Java? Thanks for helping.