java method help?

Write a method called findInString that accepts two arguments: String search; String find. The method should return a custom class called SearchResults which has the following attributes with accessors: boolean found, int countOfMatches, and a list of items of a custom class called Match with attributes int startPosition, int length. The method should find all instances of the find string in the search string.

1 Answer

Relevance
  • Anonymous
    3 weeks ago

    Homework Section >>>>>>>>>

Still have questions? Get answers by asking now.