{"id":496,"date":"2019-02-15T22:55:12","date_gmt":"2019-02-15T14:55:12","guid":{"rendered":"http:\/\/www.eait.co\/?p=496"},"modified":"2019-04-05T12:32:23","modified_gmt":"2019-04-05T04:32:23","slug":"java%e5%ad%90%e7%b1%bb%e7%bb%a7%e6%89%bf%e7%88%b6%e7%b1%bb%e6%97%b6%e5%85%88%e8%b0%83%e7%94%a8%e7%88%b6%e7%b1%bb%e4%b8%ad%e7%9a%84%e6%97%a0%e5%8f%82%e6%9e%84%e9%80%a0%e6%96%b9%e6%b3%95%ef%bc%9a","status":"publish","type":"post","link":"https:\/\/notes.coremix.net\/?p=496","title":{"rendered":"java\u5b50\u7c7b\u7ee7\u627f\u7236\u7c7b\u65f6\u5148\u8c03\u7528\u7236\u7c7b\u4e2d\u7684\u65e0\u53c2\u6784\u9020\u65b9\u6cd5\uff1a"},"content":{"rendered":"<pre>public class Person7\r\n{\r\n    String name;\r\n    int age;\r\n    public Person7(){\r\n        System.out.println(\"1.public Person7(){}\" );\r\n\r\n    }\r\n}\r\nclass Studentt extends Person7{\r\n    String school;\r\n    public Studentt()\r\n    {\r\n        System.out.println(\"2.public Student(){}\");\r\n    }\r\n}\r\n\r\n\r\n\r\n\r\n<\/pre>\n<pre>\/**\r\n * Created by xabcd on 2019\/2\/15.\r\n *\/\r\npublic class TestPerson7Student {\r\n    public static void main(String[] args)\r\n    {\r\n        Studentt s = new Studentt();\r\n    }\r\n}<\/pre>\n<pre>\u7ed3\u679c\uff1a\r\n1.public Person7(){}\r\n2.public Student(){}\r\n\r\n\r\n\r\n\r\n\r\n\u81ea\u7c7b\u5728\u5b9e\u4f8b\u5316\u65f6\u5148\u8c03\u7528\u7236\u7c7b\u4e2d\u7684\u65e0\u53c2\u6784\u9020\u65b9\u6cd5\u518d\u8c03\u7528\u6709\u53c2\u6784\u9020\u65b9\u6cd5\u3002\r\n\r\n\r\n\r\n\r\n\u53ef\u4ee5\u6539\u5728\u4e00\u4e2a\u6587\u4ef6\u4e2d\uff1a<\/pre>\n<pre>\/**\r\n * Created by xabcd on 2019\/2\/15.\r\n *\/\r\npublic class Person7\r\n{\r\n    String name;\r\n    int age;\r\n    public Person7(){\r\n        System.out.println(\"1.public Person7(){}\" );\r\n\r\n    }\r\n}\r\nclass Studentt extends Person7{\r\n    String school;\r\n    public Studentt()\r\n    {\r\n        System.out.println(\"2.public Student(){}\");\r\n    }\r\n    public static void main(String[] args)\r\n    {\r\n        Studentt s = new Studentt();\r\n    }\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>public class Person7 { String name; int age; public Per [&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-496","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\/496","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=496"}],"version-history":[{"count":3,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/496\/revisions"}],"predecessor-version":[{"id":499,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=\/wp\/v2\/posts\/496\/revisions\/499"}],"wp:attachment":[{"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.coremix.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}