1.4运用多态(polymorphism)取代与价格相关的条件逻辑
price.h
movie.h
Rental.h
Customer.h
Customer.cpp
Common.h (共同的方法)
Refactoring1.4.cpp 变更的履历写在这个里面
1.4运用多态(polymorphism)取代与价格相关的条件逻辑
price.h
movie.h
Rental.h
Customer.h
Customer.cpp
Common.h (共同的方法)
Refactoring1.4.cpp 变更的履历写在这个里面