You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
271 B
10 lines
271 B
3 years ago
|
This error is reported when the argument types to a `printf` method do not match the format string.
|
||
|
|
||
|
```java
|
||
|
void stringInsteadOfInteger(PrintStream out) {
|
||
|
out.printf("Hello %d", "world");
|
||
|
}
|
||
|
```
|
||
|
|
||
|
Action: fix the mismatch between format string and argument types.
|