API for Java Exam