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

  • Anonymous
    3 weeks ago

    Homework Section >>>>>>>>>

Still have questions? Get your answers by asking now.