I have a piece of code that accepts the following: (List<?extends Object> list)
When I call the code, I need to pass it a List, of course. However, in my code that calls it, I need to piece together the name of that list using String functions (with a String result). But, the function I am calling needs a List, not a String.
How do pass the argument as a List when actually what I have is a String of the name of the List?