asked 94.3k views
1 vote
How to get first character of a string in java.

asked
User Gerome
by
7.8k points

1 Answer

3 votes
Use ld. charAt(0) . It will return the first char of the String
answered
User S Krishna
by
8.1k points

No related questions found