{"id":200,"date":"2023-10-10T20:20:48","date_gmt":"2023-10-10T12:20:48","guid":{"rendered":"https:\/\/wp.minicoda.com\/?p=200"},"modified":"2025-03-16T18:00:03","modified_gmt":"2025-03-16T10:00:03","slug":"%e6%88%90%e5%91%98%e5%87%bd%e6%95%b0%e9%87%8d%e5%86%99","status":"publish","type":"post","link":"https:\/\/wp.minicoda.com\/index.php\/%e6%88%90%e5%91%98%e5%87%bd%e6%95%b0%e9%87%8d%e5%86%99\/","title":{"rendered":"\u6210\u5458\u51fd\u6570\u91cd\u5199"},"content":{"rendered":"\n<p>  \u591a\u6001\u8ba9\u4e16\u754c\u66f4\u7cbe\u5f69\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ObjC \u5b50\u7c7b\u5b9e\u73b0\u7236\u7c7b\u4e00\u6837\u7684\u6210\u5458\u65b9\u6cd5\u5c31\u662f\u91cd\u5199\uff0c\u4e0d\u9700\u8981\u989d\u5916\u4fee\u9970\u7b26\u3002<\/li>\n\n\n\n<li>Java\u4f7f\u7528\u6ce8\u89e3\u91cd\u5199\u7236\u7c7b\u51fd\u6570@Override.<\/li>\n\n\n\n<li>C#\/Kotlin \u63d0\u4f9boverride\u5173\u952e\u5b57\u8868\u793a\u91cd\u5199\u57fa\u7c7b\u51fd\u6570, Kotlin \u989d\u5916\u8981\u6c42\u7236\u7c7b\u5bf9\u5e94\u51fd\u6570\u7528 open \u4fee\u9970(\u53ef\u4ee5\u88ab\u91cd\u5199)\u3002\u5bf9\u4e8eKotlin\uff0c\u5982\u679c\u662f\u62bd\u8c61\u7c7b\u6216\u8005interface\uff0c\u62bd\u8c61\u65b9\u6cd5\u4e0d\u9700\u8981\u7528open\u4fee\u9970\uff0c\u7ee7\u627f\u5b83\u7684\u7c7b\u4f9d\u7136\u9700\u8981\u7528override\u4fee\u9970\u91cd\u5199\u7684\u51fd\u6570\u3002<\/li>\n\n\n\n<li>Python\u548cJS\u4e0d\u9700\u8981\u52a0\u989d\u5916\u6ce8\u89e3\u6216\u4fee\u9970\u7b26\uff0c\u53ea\u8981\u91cd\u65b0\u5b9a\u4e49\u7236\u7c7b\u540c\u540d\u65b9\u6cd5\u5373\u53ef\u3002<\/li>\n\n\n\n<li>C++11\u5f15\u5165\u4e86override\u5173\u952e\u5b57(\u5f53\u7136C#\u65e9\u5c31\u6709)\uff0c\u6307\u793a\u6b64\u51fd\u6570\u8986\u76d6\u57fa\u7c7b\u6210\u5458\u51fd\u6570\u7684\u4ee3\u7801\uff0c\u597d\u5904\u662f\u8bf7\u7f16\u8bd1\u5668\u68c0\u67e5\u5b83\u771f\u7684\u8986\u76d6\u4e86\u57fa\u7c7b\u4ee3\u7801\uff0c\u800c\u4e0d\u662f\u5199\u9519\u4e86\u3002<\/li>\n\n\n\n<li>C++11\u5f15\u5165\u4e86final\u8bf4\u660e\u7b26\uff0c\u4ee3\u8868\u7c7b\u6216\u8005\u6210\u5458\u51fd\u6570\u4e0d\u53ef\u88ab\u91cd\u5199\u3002<\/li>\n\n\n\n<li>\u4ed3\u9889 \u6210\u5458\u51fd\u6570\u5fc5\u987b\u7528open\u4fee\u9970\u624d\u53ef\u4ee5\u88ab\u5b50\u7c7b\u91cd\u5199\uff0c\u5b50\u7c7b\u4e0d\u53ef\u4ee5\u91cd\u5199\u7236\u7c7b\u7684\u6784\u9020\u51fd\u6570\u6216private\u51fd\u6570\uff0c\u53ef\u4ee5\u91cd\u5199protected\u6216public\u6210\u5458\u51fd\u6570\u3002\u5b50\u7c7b\u91cd\u5199\u51fd\u6570\u53ef\u4ee5\u4e0d\u52a0override\u4fee\u9970\u7b26\u3002\n<ul class=\"wp-block-list\">\n<li>\u5bf9\u7236\u7c7b\u9759\u6001\u6210\u5458\u51fd\u6570\u7684\u91cd\u5199\uff0c\u88ab\u79f0\u4e3a\"\u91cd\u5b9a\u4e49\"\uff0c\u4e3a\u4e86\u66f4\u6e05\u6670\u53ef\u4ee5\u52a0\u4e0a redef  \u4fee\u9970\u7b26\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u591a\u6001\u8ba9\u4e16\u754c\u66f4\u7cbe\u5f69\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,8,61,60],"tags":[43,9,62,63],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-41","category-8","category-61","category-60","tag-43","tag-9","tag-62","tag-63"],"views":73,"_links":{"self":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/comments?post=200"}],"version-history":[{"count":8,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/200\/revisions"}],"predecessor-version":[{"id":3948,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/posts\/200\/revisions\/3948"}],"wp:attachment":[{"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/media?parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/categories?post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.minicoda.com\/index.php\/wp-json\/wp\/v2\/tags?post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}