class Base: # Declaring public method def fun(self): print("Public method") # Declaring private method def __fun(self): print("Private method")