what is the use of System.out.flush in java?
Answers
Answered by
1
Answer:
PrintWriter flush() method in Java with Examples
The flush() method of PrintWriter Class in Java is used to flush the stream. By flushing the stream, it means to clear the stream of any element that may be or maybe not inside the stream. It neither accepts any parameter nor returns any value
Explanation:
HOPE IT WILL HELP YOU.......
MARK AS BRAINLIEST ANSWER.........
Similar questions