Sunday, May 20, 2007

the implementation of the polymophic

Java
 
with the compiler's effort, it use the "dispatch vector" to implement the polymorphic.
 
C++
 
also with the compiler's effort, it use the "Virtual table" to accomplish this task.
 

No comments: