import java.util.Scanner;public class CharTest { public static void main(String[] args){ Scanner cin = new Scanner(System.in);if(cin.hasNext()){ String line = cin.next();char[] cArray = line.toCharArray();char[] afArray = getCharByMethod(cArray,2,5);for(int i=0; i...