BearCola
7/25/2017 - 3:23 AM

printChars (1-2 08:05)

printChars (1-2 08:05)

public static void printChars(String str) {
  if (str.length() == 0) {
    return ;
  } else {
    System.out.print(str.charAt(0));
    printChars(str.substring(1));
  }
}