Rubbal Bhusri wrote: Actually from my previous learning, I use to learn that , a reference is use to call methods of of an instance of a class.
Campbell Ritchie wrote:If it is supposed to be method chaining, there should be more () than you wrote.
So, I see "frame" as a reference and "frame" calls "getContentPane()" method
See the extra brackets?
Campbell Ritchie wrote:But the off‑topic discussions are always much more fun
Rubbal Bhusri wrote:So, please come to the point, and make me clear about that method chaining thing !!
Matthew Brown wrote:
But it's been answered. Which bits are you still having trouble with?
Rubbal Bhusri wrote:Please explain me step by step the functioning of this statement i.e. how it works actually ?