String Manipulation
AP Computer Science A · Flashcards · Application
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 13
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
What is the output of '" hello ".trim();'?
QUESTION
Find and correct: 'String s = "Java"; s = s.toLowercase();'
QUESTION
What is the output of '"Hello World".indexOf("o");'?
Tap to flip before you grade
ANSWER
4. First 'o' appears at position 4 in 'Hello World'.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card