I have a mainclass A, with 3 subclasses:B,C,D. THese subclasses have functions that use objects that of the main class. After coding,Im getting the error, cannot find the function. Is there something missing. All this function override thing is confusing me. I have not done any override. Is any override necessary?