Java source code for CSE143X class.