Predict the output of the following program. Also state which concept of OOP is being implemented?

Predict the output of the following program. Also state which concept of OOP is being implemented?
Predict the output of the following program. Also state which concept of OOP is being implemented?

Predict the output of the following program. Also state which concept of OOP is being implemented?

def sum(x,y,z):

print “sum= “, x+y+z
def sum(a,b):
print “sum= “, a+b
sum(10,20)
sum(10,20,30)

Answer

If Answer Not Available Please comment if you Know answer

Leave a Reply

Your email address will not be published. Required fields are marked *