There is no emoticon for what I am feeling!
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
There is no emoticon for what I am feeling!
Originally posted by Mr. C Lamont Gilbert:
If you want to provide to the _public_ a way to get a copy of your object try creating your own method
There is no emoticon for what I am feeling!
"I'm not back." - Bill Harding, Twister
Isaac Han wrote:But, i still puzzle
If a Cat object can be cloned then it should be possible for that to happen outside its class.
So the clone method is accessible to all classes in the same package even if it is protected
Don't get me started about those stupid light bulbs. |