Examveda
Examveda

What is method overloading in Python?

A. Using multiple methods with the same name but different parameters

B. Using methods with different names but the same parameters

C. Using methods with the same name and parameters

D. Using methods with different names and different parameters

Answer: Option A

Solution(By Examveda Team)

Method overloading involves defining multiple methods with the same name but different parameters.

This Question Belongs to Python Program >> Advanced OOP Concepts

Join The Discussion

Related Questions on Advanced OOP Concepts

What is inheritance in OOP?

A. Creating new objects from existing ones

B. Allowing objects to share attributes and methods

C. Restricting access to object attributes

D. Converting classes into objects