To assist Java programming studies, we have developed a Web-based Java Programming Learning Assistant System (JPLAS). As one function in JPLAS, it provides a statement fill-in-blank problem that asks students to fill in proper statements to blanked ones in a Java code, so as to cultivate simultaneous code reading and writing abilities. Previously, we blanked only the core statement in a code with one class using the Program Dependence Graph (PDG), where we do not consider the features of object-oriented programming in Java that uses multiple classes and collaborations with other systems such as database. In this paper, we extend the statement fill-in-blank problem to deal with these features. We verify the effectiveness of our proposal through the Java programming course at our department.