Merge pull request #1604 from gkulkarni2020/master
Word mistake in factory/README.md #1601 closes #1601
This commit is contained in:
commit
f5a6161044
@ -81,7 +81,7 @@ public enum CarType {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
Then we have the static method `getCar` to create car objects encapsulated in the factory class
|
Then we have the static method `getCar` to create car objects encapsulated in the factory class
|
||||||
`CarSimpleFactory`.
|
`CarsFactory`.
|
||||||
|
|
||||||
```java
|
```java
|
||||||
public class CarsFactory {
|
public class CarsFactory {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user