> The process happens at compile time, not at runtime.

Dynamic selection of Overloaded Methods happens at compile time?
I am not quite sure about that..
e.g.
getMethodX(int i, String s, double d)
getMethodX(String s, int i, double d)
getMethodX(double d, int i, String s)

All Method Names are the same with different argument sequence.
What happends when data being passed to the method dynamically
change? 
That would have to be dynamic selection of appropriate method
based on Data Type at RunTime right?

> > of how the RunTime keeps track of method signatures...
Maybe you were talking about the above... method signatures
are generated at compile..Typo.

Joe Eugene


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Sean A Corfield
> Sent: Tuesday, August 05, 2003 12:07 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [CFCDev] Overloading CFCs
> 
> 
> On Monday, Aug 4, 2003, at 19:33 US/Pacific, Joe Eugene wrote:
> > I would agree to the above, i guess the runtime would have to do
> > extensive checking for the method signature. Well Java does use
> > overloading even in operators(+) i havent read the internals
> > of how the RunTime keeps track of method signatures...
> 
> The process happens at compile time, not at runtime.
> 
> Sean A Corfield -- http://www.corfield.org/blog/
> 
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
> 
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email
> to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
> in the message of the email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported
> by Mindtool, Corporation (www.mindtool.com).
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

Reply via email to