About this document
Phrase Class Methods for AP CSA 2017 by briansongyl is a document available to read on EtoBox.
The document presents a programming task involving the Phrase class, which manages a string phrase and includes methods for finding and replacing occurrences of substrings. Specifically, it requires the implementation of two methods: replaceNthOccurrence, which replaces the nth occurrence of a substring, and findLastOccurrence, which finds the index of the last occurrence of a substring. Examples of method behavior are provided to illustrate expected outputs for various inputs.
- Author
- briansongyl
- Language
- EN