GIAC
GSSP-JAVA · Question #240
Which of the following methods retrieves a single character from a string?
The correct answer is C. charAt(). See the full explanation below for the reasoning.
Question
Which of the following methods retrieves a single character from a string?
Options
- Atrim()
- Bsubstring()
- CcharAt()
- DindexOf()
How the community answered
(27 responses)- A4% (1)
- B11% (3)
- C78% (21)
- D7% (2)
Community Discussion
No community discussion yet for this question.