{"id":474,"date":"2022-09-24T22:12:17","date_gmt":"2022-09-24T14:12:17","guid":{"rendered":"https:\/\/qaqaq.top\/?p=474"},"modified":"2022-11-27T12:40:00","modified_gmt":"2022-11-27T04:40:00","slug":"%e9%9d%a2%e5%90%91%e5%af%b9%e8%b1%a1%e5%8f%8a%e9%9d%a2%e5%90%91%e5%af%b9%e8%b1%a1%e7%9a%84%e4%b8%a4%e4%b8%aa%e8%a6%81%e7%b4%a0","status":"publish","type":"post","link":"https:\/\/qaqaq.top\/?p=474","title":{"rendered":"\u9762\u5411\u5bf9\u8c61(\u4e0a)-\u9762\u5411\u5bf9\u8c61\u7f16\u7a0b\u5b66\u4e60\u7684\u4e3b\u7ebf\u3001\u7406\u89e3\u9762\u5411\u8fc7\u7a0b\u4e0e\u9762\u5411\u5bf9\u8c61\u3001\u4e24\u4e2a\u8981\u7d20\uff1a\u7c7b\u548c\u5bf9\u8c61"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>package top.qaqaq.java.P176;\n\/*\n * \u4e00\u3001Java\u9762\u5411\u5bf9\u8c61\u5b66\u4e60\u7684\u4e09\u6761\u4e3b\u7ebf\uff1a\uff08\u7b2c4-6\u7ae0\uff09\n * \n * 1. Java\u7c7b\u53ca\u7c7b\u7684\u6210\u5458\uff1a\u5c5e\u6027\u3001\u65b9\u6cd5\u3001\u6784\u9020\u5668\uff1a\u4ee3\u7801\u5757\u3001\u5185\u90e8\u7c7b\n * \n * 2. \u9762\u5411\u5bf9\u8c61\u7684\u4e09\u5927\u7279\u5f81\uff1a\u5c01\u88c5\u6027\u3001\u7ee7\u627f\u6027\u3001\u591a\u6001\u6027\u3001\uff08\u62bd\u8c61\u6027\uff09\n * \n * 3. \u5176\u4ed6\u5173\u952e\u5b57\uff1athis\u3001super\u3001static\u3001final\u3001abstract\u3001interface\u3001package\u3001import\u7b49\n * \n * \u201c\u5927\u5904\u7740\u773c\uff0c\u5c0f\u5904\u7740\u624b\u201d\n * \n * \n * \u4e8c\u3001\u201c\u4eba\u628a\u5927\u8c61\u88c5\u8fdb\u51b0\u7bb1\u201d\n * \n * 1. \u9762\u5411\u8fc7\u7a0b\uff1a\u5f3a\u8c03\u7684\u662f\u529f\u80fd\u884c\u4e3a\uff0c\u4ee5\u51fd\u6570\u4e3a\u6700\u5c0f\u5355\u4f4d\uff0c\u8003\u8651\u600e\u4e48\u505a\u3002\n * \n * \u2460 \u628a\u51b0\u7bb1\u95e8\u6253\u5f00\n * \u2461 \u62ac\u8d77\u5927\u8c61\uff0c\u585e\u8fdb\u51b0\u7bb1\n * \u2462 \u628a\u51b0\u7bb1\u95e8\u5173\u95ed\n * \n * 2. \u9762\u5411\u5bf9\u8c61\uff1a\u5f3a\u8c03\u5177\u5907\u4e86\u529f\u80fd\u7684\u5bf9\u8c61\uff0c\u4ee5\u7c7b\/\u5bf9\u8c61\u4e3a\u6700\u5c0f\u5355\u4f4d\uff0c\u8003\u8651\u8c01\u6765\u505a\u3002\n * \n * \u4eba{\n * \t\t\u6253\u5f00(\u51b0\u7bb1){\n * \t\t\t\u51b0\u7bb1.\u5f00\u5f00();\n * \t\t}\n * \n * \t\t\u62ac\u8d77(\u5927\u8c61){\n * \t\t\t\u5927\u8c61.\u8fdb\u5165(\u51b0\u7bb1);\n * \t\t}\n * \n * \t\t\u5173\u95ed(\u51b0\u7bb1){\n * \t\t\t\u51b0\u7bb1.\u95ed\u5408();\n * \t\t}\n * }\n * \n * \u51b0\u7bb1{\n * \t\t\u5f00\u5f00\uff08\uff09{\n * \t\t\t\n * \t\t}\n * \t\t\u95ed\u5408\uff08\uff09{\n * \n * \t\t}\n * }\n * \n * \u5927\u8c61{\n * \t\t\u8fdb\u5165(\u51b0\u7bb1){\n * \n * \t\t}\n * }\n * \n * \u4e09\u3001\u9762\u5411\u5bf9\u8c61\u7684\u4e24\u4e2a\u8981\u7d20\uff1a\n * \u7c7b\uff1a\u5bf9\u4e00\u7c7b\u4e8b\u7269\u7684\u63cf\u8ff0\uff0c\u662f\u62bd\u8c61\u7684\u3001\u6982\u5ff5\u4e0a\u7684\u5b9a\u4e49\n * \u5bf9\u8c61\uff1a\u662f\u5b9e\u9645\u5b58\u5728\u7684\u8be5\u7c7b\u4e8b\u7269\u7684\u6bcf\u4e2a\u4e2a\u4f53\uff0c\u56e0\u800c\u4e5f\u79f0\u4e3a\u5b9e\u4f8b(instance)\n * &gt; \u9762\u5411\u5bf9\u8c61\u7a0b\u5e8f\u8bbe\u8ba1\u7684\u91cd\u70b9\u662f\u7c7b\u7684\u8bbe\u8ba1\n * &gt; \u8bbe\u8ba1\u7c7b\uff0c\u5c31\u662f\u8bbe\u8ba1\u7c7b\u7684\u6210\u5458\u3002\n * \n * \n *\/\npublic class OOPTest {\n\n}\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[46],"class_list":["post-474","post","type-post","status-publish","format-standard","hentry","category-java-code","tag-java"],"_links":{"self":[{"href":"https:\/\/qaqaq.top\/index.php?rest_route=\/wp\/v2\/posts\/474"}],"collection":[{"href":"https:\/\/qaqaq.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qaqaq.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qaqaq.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qaqaq.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=474"}],"version-history":[{"count":2,"href":"https:\/\/qaqaq.top\/index.php?rest_route=\/wp\/v2\/posts\/474\/revisions"}],"predecessor-version":[{"id":482,"href":"https:\/\/qaqaq.top\/index.php?rest_route=\/wp\/v2\/posts\/474\/revisions\/482"}],"wp:attachment":[{"href":"https:\/\/qaqaq.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qaqaq.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qaqaq.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}