Since the exercise is to not use String methods for getting the length, and we already have an array of chars, we can let the array tell us when it's done using for-each loops:



public class...