Computer Science, asked by rajbabu8835, 1 year ago

Can we define a class with two constructors in python

Answers

Answered by tanya2456
1

Answer:

no we cannot define a class with multiple constructor however u can define a default value if one is not passed

hope it helps you

please mark as brainly ans if it helps you..

thank u......

Answered by kiran2339
0

Answer:

Unlike Java, you cannot define multiple constructors. However, you can define a default value if one is not passed.

Similar questions