Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

def message ( self ) : # . . . . . . . . . . . . . . . . . .

def message(self): #.............................................................1
print ("Welcome")
class Emp:
def_init_(self, name, sal, comm, *args,?*** kwargs):#............. Line 2
Total_Sal=sal+comm
print (name)
print(Total_Sal)
class Designation:
def_init_(self, des, *args,?*** kwargs) :#..................................5
Do you need to change anything in the code to get the following output?
If yes Which line you need to modify to get the following output? What
you will right?
Output:Welcome
AA
3040
us
Child class
**Note you don't have to write this code. Just see the code carefully and
answer this question.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Demystified

Authors: Andrew Oppel

1st Edition

0072253649, 9780072253641

More Books

Students also viewed these Databases questions

Question

Be prepared to discuss your career plans.

Answered: 1 week ago

Question

* What is the importance of soil testing in civil engineering?

Answered: 1 week ago

Question

Explain the concept of shear force and bending moment in beams.

Answered: 1 week ago

Question

Timeline for final evaluation

Answered: 1 week ago

Question

How will it be used?

Answered: 1 week ago