Java based assignments