import ch03.stacks.*; import ch05.queues.*; public class Palindrome { public static boolean isPalindromeFancy(String s) { char c; BoundedQueueInterface queue = new ArrayBndQueue(new Character[s.length()]); BoundedStackInterface stack = new ArrayStack(new Character[s.length()]); for (int i=0; i