开发者

how to simulate the inheritance of a record?

开发者 https://www.devze.com 2023-01-17 07:06 出处:网络
I\'d like to inherit records, since this is not possible the best solution is to create classes with public fields and use inheritance aga开发者_JAVA技巧inst them?Yes, uses classes. There is a complet

I'd like to inherit records, since this is not possible the best solution is to create classes with public fields and use inheritance aga开发者_JAVA技巧inst them?


Yes, uses classes. There is a complete discussion in the Stack Overflow question Why can't Delphi records have inheritance?

0

精彩评论

暂无评论...
验证码 换一张
取 消