In this tutorial you will see how to write the given character into buffer at the given index. The put (int index, char c) allow to write a character at particular index. It also allow to overwrite the content of the buffer which can be seen in this example.
import java.nio.CharBuffer;
|
| x |
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.