Skip to content

Latest commit

 

History

History
24 lines (11 loc) · 409 Bytes

Python OOP.md

File metadata and controls

24 lines (11 loc) · 409 Bytes

Class

is the blueprint and ei blueprint theke amra multiple 'Object' create korte pari. Class is the blueprintand from where we can create multiple 'Objects'.

Default constructor

class University:
    def __init__(self):
        print("Result")
obj1 = University()
obj2 = University()

ekhane self diye obj1 and obj2 er memory location er instances k dhortese.