Hi
There r two kinds of methods to be considered --- static methods and non-static methods! Static methods r identified in compile- time while non-static methods r identified at runtime -- possibly both(:confused
static/non-static methods resides in a memory area called stack...
Non-static methods r identified at runtime and if overloaded the more specific method is chosen i.e. the method of the object's class type(or may be of subclass) not of the object's reference type (or may be of super class) is chosen. Hope it helps!
------------------
Muhammad Ashikuzzaman (Fahim)
Sun Certified Programmer For
Java 2 Platform
--When you learn something, learn it by heart!