Merge pull request #1604 from gkulkarni2020/master

Word mistake in factory/README.md #1601
closes #1601
This commit is contained in:
Subhrodip Mohanta 2020-12-04 14:17:32 +05:30 committed by GitHub
commit f5a6161044
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ public enum CarType {
}
```
Then we have the static method `getCar` to create car objects encapsulated in the factory class
`CarSimpleFactory`.
`CarsFactory`.
```java
public class CarsFactory {