C++ 裡提供了一個keyword 叫 virtual , 使用virtual 關鍵字的method 會是Late binding (dynamic binding), 在runtime 的時候才會決定要call 的function 位址.
確定! 回上一頁