/* * This example was used in class to show multiple implementations of * the same interface, done using "abstract" classes. */ public abstract class MyStack { public abstract void push(Object item); public abstract Object pop(); public abstract boolean empty(); }