I have class Vehicle and another file with class Car that is sub-class of Vehicle. I'am trying to initilize Car calling super but it's giving me this error which i dont understand because everything matches.
It says in the super line "Vehicle in class Vehicle cannot be applied to given types. required no arguments, found int, int, String, int, int. actual and formal arguements list differs in lenght"
Here's the code:
Well maybe we have not been given the real code, but on using the simple name of the class Vehicle, a Vehicle class in the current (unnamed) package will take precedence over such a class in a different package.