Create query.java