how to clear input buffer in java?
Answers
Answered by
2
Answer:
Buffer clear() methods in Java with Examples
The clear() method of java. nio. ByteBuffer Class is used to clear this buffer. The position is set to zero, the limit is set to the capacity, and the mark is discarded.
Explanation:
hope this will help you plz mark as Brainliest answers
Answered by
1
Answer:
Buffer clear() methods in java with Example.
The clear() method of Java. nio. BiteBuffer class is used to clear this buffe. The position is said to zero, the limit is set to the capacity, and the mark is discarded.
Similar questions