+ 3

Eror

when I try java "reading a file" program example in my computer it shows package java.util.formatter not found in import. solution please.

13th May 2017, 2:19 PM
Aurobindo Majhi
Aurobindo Majhi - avatar
2 Answers
+ 9
Make sure you have a whitespace after the import keyword and correct your typos: import java.util.Formatter;
13th May 2017, 2:36 PM
Tashi N
Tashi N - avatar
+ 1
its not until its util java.util.formatter
13th May 2017, 2:51 PM
Mayur Chaudhari
Mayur Chaudhari - avatar