How to write it in Java

Printable View