I\'ve got a class Results which extends ArrayList. I\'ve got an object i which has a function i.getResults() w
Results
extends ArrayList
i
i.getResults()
You're assigning a parent to the child class. This is not possible. You can assign do
ArrayList list = new Results();