I got this code from Niko's Blog.
Answer to above question is :
Hey you Josh Childress!
According to my knowledge, person object created don have an property called fullName, then how such a result is possible, what am i missing here?
If it's still in your mind, It is worth taking the risk !!
According to my knowledge, person object created don have an property called fullName
It actually has a property fullName because there is a setFullName() and a getFullName() method. That it modifies the instance variable with the name name doesn't matter (check also: JavaBeans conventions)
Wanna see my flashlight? How about this tiny ad?
Devious Experiments for a Truly Passive Greenhouse!