M
Matt
In JavaBeans, the getter and setter methods always have signatures like this:
public void setXxx(Type xxx)
public Type getXxx()
Can we declare a setter method that takes more than 1 parameter, like
public void mysetter(Type xxx, Type yyy)
This article (http://www.it-careernet.com/itc/javabeantechnology.htm)
in Indexed Properties section has 2 parametes in setter method.
I am confused.
Please advise. Thanks!!
public void setXxx(Type xxx)
public Type getXxx()
Can we declare a setter method that takes more than 1 parameter, like
public void mysetter(Type xxx, Type yyy)
This article (http://www.it-careernet.com/itc/javabeantechnology.htm)
in Indexed Properties section has 2 parametes in setter method.
I am confused.
Please advise. Thanks!!