Challenge for The String Methods
Challenge
You are given the following code:
String word = "craftsmanship";
Write one line of code that declares the char c
and uses charAt
to set its value to m
.
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.