Program Stack Palindrome Berikut ini merupakan contoh program palindrome dengan stack menggunakan bahasa pemrograman java: Source Code 1. Class cElement public class cElement { private String name; private char chars; cElement next; cElement (String n){ name = n; System.out.println("Object "+n+" created..."); } cElement (char c){ chars = c; } public String getName() { return name; } public char getChars() { return chars; } } 2. Class cStack public class cStack { cElement top, bottom; String word; int total; cStack(){ top = bottom = null; total = 0; System.out.println("Object stack has been created..."); } public void push (cElement newest) { if(top == null) { top = bottom = newest; } else { newest.next = top; top = newest; } System.out.println("Push OK..."); } public cElement pop() { if(top == null) { System.out.println("Stack empty!...