Can we define a class with two constructors in python
Answers
Answered by
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
0
Answer:
Unlike Java, you cannot define multiple constructors. However, you can define a default value if one is not passed.
Similar questions