{"id":529,"date":"2019-02-16T10:47:15","date_gmt":"2019-02-16T02:47:15","guid":{"rendered":"http:\/\/www.eait.co\/?p=529"},"modified":"2019-04-05T12:32:22","modified_gmt":"2019-04-05T04:32:22","slug":"java-%e6%8e%a5%e5%8f%a3%e7%9a%84%e5%b1%9e%e6%80%a7%e5%92%8c%e7%89%b9%e6%80%a7","status":"publish","type":"post","link":"https:\/\/notes.coremix.net\/?p=529","title":{"rendered":"java\u2014\u2014\u63a5\u53e3\u7684\u5c5e\u6027\u548c\u7279\u6027"},"content":{"rendered":"<p>\u63a5\u53e3\uff08 interface\uff09 \u662f Java \u6240 \u63d0\u4f9b \u7684 \u53e6\u4e00\u79cd \u91cd\u8981 \u6280\u672f\uff0c \u5b83\u7684 \u7ed3\u6784 \u548c \u62bd\u8c61 \u7c7b \u975e\u5e38 \u76f8\u4f3c\uff0c \u4e5f \u5177\u6709 \u6570\u636e \u6210\u5458 \u4e0e \u62bd\u8c61 \u65b9\u6cd5\uff0c \u4f46\u5b83 \u4e0e \u62bd\u8c61 \u7c7b \u53c8\u6709 \u4ee5\u4e0b \u4e24\u70b9 \u4e0d\u540c\u3002 \u2474 \u63a5\u53e3 \u91cc \u7684 \u6570\u636e \u6210\u5458 \u5fc5\u987b \u521d\u59cb\u5316\uff0c \u4e14 \u6570\u636e \u6210\u5458 \u5747\u4e3a \u5e38\u91cf\u3002 \u2475 \u63a5\u53e3 \u91cc \u7684 \u65b9\u6cd5 \u5fc5\u987b \u5168\u90e8 \u58f0\u660e \u4e3a abstract\uff0c \u4e5f\u5c31\u662f\u8bf4\uff0c \u63a5\u53e3 \u4e0d\u80fd \u50cf \u62bd\u8c61 \u7c7b \u4e00\u6837 \u4fdd\u6709 \u4e00\u822c \u7684 \u65b9\u6cd5\uff0c \u5fc5\u987b \u5168\u90e8 \u662f\u201c \u62bd\u8c61 \u65b9\u6cd5\u201d\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u63a5\u53e3 \u4e0e \u4e00\u822c \u7c7b \u4e00\u6837\uff0c \u672c\u8eab \u4e5f \u5177\u6709 \u6570\u636e \u6210\u5458 \u4e0e \u65b9\u6cd5\uff0c \u4f46 \u6570\u636e \u6210\u5458 \u4e00 \u5b9a\u8981 \u8d4b \u521d\u503c\uff0c \u4e14 \u6b64 \u503c \u4e0d\u80fd \u518d \u66f4\u6539\uff0c \u65b9\u6cd5 \u4e5f \u5fc5\u987b \u662f\u201c \u62bd\u8c61 \u65b9\u6cd5\u201d\u3002 \u4e5f \u6b63 \u56e0\u4e3a \u65b9\u6cd5 \u5fc5\u987b \u662f \u62bd\u8c61 \u65b9\u6cd5\uff0c \u800c \u6ca1\u6709 \u4e00\u822c \u7684 \u65b9\u6cd5\uff0c \u6240\u4ee5 \u5982\u4e0a \u683c\u5f0f \u4e2d\uff0c \u62bd\u8c61 \u65b9\u6cd5 \u58f0\u660e \u7684 \u5173\u952e\u5b57 abstract \u662f \u53ef\u4ee5 \u7701\u7565 \u7684\u3002 \u76f8\u540c \u7684 \u60c5\u51b5 \u4e5f \u53d1\u751f \u5728 \u6570\u636e \u6210\u5458 \u8eab\u4e0a\uff0c \u56e0\u6570 \u636e \u6210\u5458 \u5fc5\u987b \u8d4b \u521d\u503c\uff0c \u4e14 \u6b64 \u503c \u4e0d\u80fd \u518d\u88ab \u66f4\u6539\uff0c \u6240\u4ee5 \u58f0\u660e \u6570\u636e \u6210\u5458 \u7684 \u5173\u952e\u5b57 final \u4e5f\u53ef \u7701\u7565\u3002 \u4e8b\u5b9e\u4e0a \u53ea\u8981 \u8bb0\u4f4f \u4ee5\u4e0b \u4e24\u70b9 \u5373\u53ef\u3002 \u2474 \u63a5\u53e3 \u91cc \u7684\u201c \u62bd\u8c61 \u65b9\u6cd5\u201d \u53ea\u8981 \u505a\u58f0 \u660e \u5373\u53ef\uff0c \u800c \u4e0d\u7528 \u5b9a\u4e49 \u5176 \u5904\u7406 \u7684 \u65b9\u5f0f\u3002 \u2475 \u6570\u636e \u6210\u5458 \u5fc5\u987b \u8d4b \u521d\u503c\u3002 \u5728 Java \u4e2d \u63a5\u53e3 \u662f \u7528\u4e8e \u5b9e\u73b0 \u591a \u7ee7\u627f \u7684 \u4e00\u79cd \u673a\u5236\uff0c \u4e5f\u662f Java \u8bbe\u8ba1 \u4e2d\u6700 \u91cd\u8981\u7684 \u4e00\u4e2a \u73af\u8282\uff0c \u6bcf\u4e00\u4e2a \u7531 \u63a5\u53e3 \u5b9e\u73b0 \u7684 \u7c7b \u5fc5 \u987b\u5728 \u7c7b \u5185\u90e8 \u8986 \u5199 \u63a5\u53e3 \u4e2d\u7684 \u62bd\u8c61 \u65b9\u6cd5\uff0c \u4e14 \u53ef \u81ea\u7531 \u5730 \u4f7f\u7528 \u63a5\u53e3 \u4e2d\u7684 \u5e38\u91cf\u3002 \u65e2\u7136 \u63a5\u53e3 \u91cc \u53ea\u6709 \u62bd\u8c61 \u65b9\u6cd5\uff0c \u5b83 \u53ea\u8981 \u58f0\u660e \u800c \u4e0d\u7528 \u5b9a\u4e49 \u5904\u7406 \u65b9\u5f0f\uff0c \u4e8e\u662f \u81ea\u7136 \u53ef\u4ee5 \u8054\u60f3 \u5230 \u63a5\u53e3 \u6709\u6ca1\u6709 \u529e\u6cd5 \u50cf \u4e00\u822c \u7c7b \u4e00\u6837\uff0c \u518d\u7528 \u5b83\u6765 \u521b\u5efa \u5bf9\u8c61\u3002 \u5229\u7528 \u63a5\u53e3 \u6253\u9020 \u65b0\u7684 \u7c7b \u7684 \u8fc7\u7a0b\uff0c \u79f0\u4e4b\u4e3a \u63a5\u53e3 \u7684 \u5b9e\u73b0\uff08<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u63a5\u53e3\uff08 interface\uff09 \u662f Java \u6240 \u63d0\u4f9b \u7684 \u53e6\u4e00\u79cd \u91cd\u8981 \u6280\u672f\uff0c \u5b83\u7684 \u7ed3\u6784 \u548c \u62bd\u8c61 \u7c7b \u975e\u5e38 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,24],"tags":[],"class_list":["post-529","post","type-post","status-publish","format-standard","hentry","category-java","category-base_code"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=529"}],"version-history":[{"count":1,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/529\/revisions"}],"predecessor-version":[{"id":530,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/529\/revisions\/530"}],"wp:attachment":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}