Polymorphism is the OOP principle which implements function overloading. And no other principle like Inheritance, Encapsulation, or any other is responsible for implementing function overloading.
If you want to gain mastery over Programming Language, I recommend you check out Intellipaat’s online programming courses, to help you enhance your employment opportunities with the right skillsets. Also, look into the following YouTube video on Object-Oriented Programming to get started.