Create an empty char array of size 1. Copy the element at specific index from String into the char[] using String. getChars() method.
...
Using String. charAt() method:
Copyright © 2024 EHUB.TIPS team's - All rights reserved.
Answers & Comments
Create an empty char array of size 1. Copy the element at specific index from String into the char[] using String. getChars() method.
...
Using String. charAt() method: