Grokking the Object Oriented Design Interview
Ask Author
Back to course home

0% completed

Vote For New Content
Python Code - Board class has a function named Board

akshayavb99

Jan 5, 2025

What does it mean when a class has a function with same name as the class?

class Board:

def init(self):

self.__boxes = [[]]

def Board(self):

self.reset_board()

0

0

Comments
Comments