Ulf Dittmer wrote:You're calling the license method with no parameters, but the method is declared to take a String as parameter. Seeing that the method does not actually use the args parameter, you could remove that from the method declaration.
It looks like you're calling the license method recursively from within itself, though - that will cause problems at runtime. Specifically, you will see no output at all, and at some point the JVM will terminate with an error.
license(java.lang.String) in Lic1 cannot be applied to ()