This may be a stupid question....(but for reasons which aren't
immediately obvious to me).

I've always assumed that a Java Interface cannot specify
behavior for a Constructor but I've never actually seen
such a restriction stated explicitly.

1) Is it true that an Interface cannot specify Constructor behavior?
2) Why not?
        -tom

p.s. What I have in mind is something like the following:

public interface Country {
   // why not the following line?
    public Country (String code, String name);

    public String getCode.....etc, etc.
}



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to