Regards<BR>Farrukh Mahmud
"Thanks to Indian media who has over the period of time swiped out intellectual taste from mass Indian population." - Chetan Parekh
Regards<BR>Farrukh Mahmud
"Thanks to Indian media who has over the period of time swiped out intellectual taste from mass Indian population." - Chetan Parekh
Originally posted by ravish kumar:
Hi Farrukh
I do not think that static methods are late binded...
as at compile time reference variable type is known.
CMIW
Originally posted by farrukh mahmud:
hi
static methods are not over loaded by not static methods and vice versa but in static methods late binding is done.i.e method is called depending upon the reference not object?
Correct me if i am wrong
Thanks
Muhammad Farooq<br />Sun Certified Programmer for Java 2 Platform<br />Oracle8i Certified Professional Database Administrator
If a method declaration overrides or hides the declaration of another method, then a compile-time error occurs if they have different return types or if one has a return
type and the other is void. Moreover, a method declaration must not have a throws clause that conflicts (�8.4.4) with that of any method that it overrides or hides; otherwise, a compile-time error occurs.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |