Thread: method calling?
View Single Post
  #5 (permalink)  
Old 01-25-2008, 04:38 AM
frejon26 frejon26 is offline
Member
 
Join Date: Jan 2008
Posts: 7
frejon26 is on a distinguished road
thanks roots,
I'm still a little confused but I don't think it makes sense the other way I wrote it (my second post). I also didn't ask the question very well. I see that it is objects calling methods, so...
if you have object.method1().method2().method3();
it goes object.method1() which in its place is the return on the method so then return value is used with the next value return.method2() which then returns another value which will finally be used with method3();

thanks
Reply With Quote