what's wrong with this?why won't complile?
package org.mypackage.hello;
/**
*
* @author Gebruiker
*/
public class NameHandler {
String name;
public NameHandler()netbeans says error is here
; expected or missing methode body or declary abstract
but in the own netbeans tutorial this is supposed to be a constructor.
name = null;
}
i took this exemple from netbeans help page to run the step two of tutorial about web services.but in my
IDE there is a compile error about this constructor public NameHandler()
does somebody help me? the tutorial is here
http://www.netbeans.org/kb/60/web/quickstart-webapps.html#setting