A basic calculator in Java with methods and a simple switch structure.