2006年12月25日
要實(shí)現(xiàn)多態(tài)性,程序語(yǔ)言必須能夠:
1.執(zhí)行期型別辨識(shí);
2.動(dòng)態(tài)綁定;

其中動(dòng)態(tài)綁定的步驟:
1.為每個(gè)類生成一個(gè)函數(shù)表;(根據(jù)函數(shù)名和函數(shù)的內(nèi)存地址調(diào)用函數(shù));
2.函數(shù)signature(the name and the parameters)(根據(jù)函數(shù)的名稱和參數(shù)調(diào)用正確的函數(shù));


有待學(xué)習(xí):
1.《core java》
2.? JAVA中動(dòng)態(tài)性實(shí)例解釋 http://dev.csdn.net/article/12/12550.shtm