Writing in Java