In this video, I have explained what is Parameterized constructor in Python.
The parameterized constructor has multiple parameters along with the self.
Ex:-
class Student:
Constructor - parameterized
def __init__(self, name):
print("This is parametrized constructor")
self.name = name
def show(self):
print("Hello",self.name)
student = Student(“kailash")
student.show()
other important video links:-
Python important interview question: • Python Interview Important Questions and A...
Python download and install: • How to Install Python | Run first program ...
Python Path set Link - • how to set path of python in windows | Ho...
Java important interview question: • Java Interview Questions(2022) and Answers...
Database important question: • DBMS/RDBMS Interview Question Answer with ...
Python Playlist Link - • Python Programming for beginners
Channel Subscription: / @kailashjoshitutorials
👍 LIKE ✍ COMMENT ✉ SHARE ❤ SUBSCRIBE
In questa pagina del sito puoi guardare il video online Parameterized Constructor in Python | Python Parameterized constructor | Python Programming #68 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Kailash Joshi Tutorials 19 maggio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 394 volte e gli è piaciuto 14 spettatori. Buona visione!