This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Hi, I am using BeanUtils for copying the contents of one bean into another using reflection. The code is really simple and it compiles and runs fine but does not give the desired output. It basically *DOES NOT* copy the property 'name' from the source to the destination bean
wht cd i be doing wrong
thanks
nise
class A{
int name;
public int getName() {
return name;
}
public void setName(int name) { this.name= name; }
}
class B {
int name;
public int getName() {
return name;
}
public void setName(int name) { this.name= name; }