Having studied a bit of programming years back (bit of Basic and Pascal) I\'m currently trying to learn Java using BlueJ and don\'t quite understand what is going on in one particular situation! My previous programming experience leads me to expect a totally different answer!
The problem is that I have some code that looks like this:
Expand|Select|Wrap|Line Numbers
- Bird beaky = new Bird ();
- beaky.setWingspan (4);
- Bird puffy = beaky;
- beaky.setWingspan (6);
Thank you in advance for your help! It\'s a silly little question but it\'s got me totally flummexed!
Jay