I think you need to change the type of the ArrayList to Commission, that should do.
Type: Posts; User: ankurt
I think you need to change the type of the ArrayList to Commission, that should do.
What do you mean by Salesperson at the time of declaration of ArrayList. Is it a class that you have created or are you referring to the array of object that you have instantiated of type "Commision"?