system.out prints twice in a small program

Printable View