Actually- overriding comes only when Inheritance is there- So I see the options are itself not correct. You combine overriding and inheritance for Runtime polymorphism. So I would say- both overloading and overriding can be used for polymorphic code.
There have been lot of discussions about Runtime Polymorphism either in this forum or in Beginners
Java forum.