You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is two typos on the function below in the AbstractFactoryExample Module.
Private Function CreateSomeHondaCars(ByVal factory As ISimplerCarFactory) As Collection
'NOTE: this function doesn't know or care what specific ISimplerCarFactory it's working with.
Dim cars As Collection
Set cars = New Collection
cars.Add factory.Create("Civic")
cars.Add factory.Create("Accord")
cars.Add factory.Create("CRV")
Set CreateSomeCars = Collection 'should read Set CreateSomeHondaCars = cars
End Function
The text was updated successfully, but these errors were encountered:
There is two typos on the function below in the AbstractFactoryExample Module.
The text was updated successfully, but these errors were encountered: