Word mistake in factory/README.md #1601
This commit is contained in:
parent
b8ecbaa451
commit
7931471b99
@ -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