KNIME - Java Snippet

Hi,

can I create Java-Methods with the Java-Snippet Node?

As example:

int i = 0;

private void setVar(int var)
{
           i = var
}

setVar(5);

Is this possible?

Thanks in advance!

Sure, just go ahead and give it a try!