Method invocations on methods taking distinct argument types (overloading) are realized at compile time. (And this is your case)
If all 3 methods accepted argument of type A - i.e. method overriding was present, only then polymorphism would come into play and would trigger the method of C
provided there is a inheritance relationship between A and C i.e. C extends A.