I get this error:
The type java.io.FilterOutputStream cannot be resolved. It is indirectly referenced from required type java.io.PrintStream
in this block of code:
public class MalyTest {
private Integer i = 3;
public void doRoboty() {
System.out.println(i);
}
}
Error disappear once I try to print something else like in this block of code:
public class MalyTest {
private Integer i = 3;
public void doRoboty() {
System.out.println("Hello");
}
}
What is the reason?
3
try adding this library: import java.io.PrintStream;
Sam Ishak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1