This line
poly3.addPoly(poly1,poly2);
will return the result of adding the two parameters - but you aren't storing that result in anything.
To use the result you would use the function like so
Polynomial result = Polynomial.addPoly(poly1,poly2);
and you would then want to print that result.
(Note the different syntax for calling a static method. You use the class name - not an instance.)