In this lesson, students will learn how to develop algorithms using Strings. Students will traverse Strings using a for loop and the print.length()
command.
for(int i = 0; i < string.length(); i++)
{
String character = string.substring(i, i+1);
}
This lesson corresponds with AP Computer Science A topic 4.3.
Students will be able to:
These are all the activities included in the lesson