On Tuesday, Aug 5, 2003, at 18:05 US/Pacific, Joe Eugene wrote:
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..

I am very sure. I am a compiler writer by trade.


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?

It can't "dynamically change" in a (statically) typed language like Java!


That would have to be dynamic selection of appropriate method
based on Data Type at RunTime right?

No. It happens at *compile* time.


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).

Reply via email to