Compilar usando javac
$ javac Poly.java
Ejecutar:
$ java Poly