Groovy web console

subscribe to the feed Subscribe
to this
site
HolaMundo (via #groovywebconsole)
tweet this snippet Tweet
this
script

HolaMundo

Published 6 months ago by domix
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
class Demo {
 
  public void saluda(String nombre) {
    System.out.println("Hola " + nombre);
  }
}


Demo d = new Demo();

d.saluda("Domingo");