Implement an interpreter in Java for assignment statements in some programming language.