3. (a) 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)
Muthon with the followin
Answers
Answered by
0
Answer:
x+y+z=10+20+30=60
a+b=10+20=30
Similar questions
Accountancy,
4 months ago
World Languages,
4 months ago
Math,
8 months ago
Math,
8 months ago
Math,
1 year ago
Chemistry,
1 year ago
English,
1 year ago