{"id":12214,"date":"2021-01-29T00:00:00","date_gmt":"2021-01-28T16:00:00","guid":{"rendered":"https:\/\/fgchen.com\/wpedu2\/2021\/01\/29\/%e7%89%a9%e4%bb%b6%e5%b0%8e%e5%90%91%e5%9f%ba%e7%a4%8e%e8%a7%80%e5%bf%b5-%e9%a1%9e%e5%88%a5%e8%88%87%e7%89%a9%e4%bb%b6\/"},"modified":"2026-03-30T14:39:20","modified_gmt":"2026-03-30T06:39:20","slug":"%e7%89%a9%e4%bb%b6%e5%b0%8e%e5%90%91%e5%9f%ba%e7%a4%8e%e8%a7%80%e5%bf%b5-%e9%a1%9e%e5%88%a5%e8%88%87%e7%89%a9%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/fgchen.com\/wpedu\/2021\/01\/%e7%89%a9%e4%bb%b6%e5%b0%8e%e5%90%91%e5%9f%ba%e7%a4%8e%e8%a7%80%e5%bf%b5-%e9%a1%9e%e5%88%a5%e8%88%87%e7%89%a9%e4%bb%b6\/","title":{"rendered":"\u7269\u4ef6\u5c0e\u5411\u57fa\u790e\u89c0\u5ff5- \u985e\u5225\u8207\u7269\u4ef6"},"content":{"rendered":"<h1 id=\"mcetoc_1et7c6aqh0\">\u985e\u5225<\/h1>\n\n<h2 id=\"mcetoc_1etaqbno90\">Members<\/h2>\n\n<h3 id=\"mcetoc_1etaqe6hj0\">Properties<\/h3>\n\n<h3 id=\"mcetoc_1etaqekug1\">Methods<\/h3>\n\n<h2 id=\"mcetoc_1etaqgteu4\">Information Hiding and Encapsulation<\/h2>\n\n<h3 id=\"mcetoc_1etaqhcvk5\">Private<\/h3>\n\n<h3 id=\"mcetoc_1etaqho236\">Public<\/h3>\n\n<h3 id=\"mcetoc_1etaqjoln7\">Getter and Setter methods<\/h3>\n\n<h2 id=\"mcetoc_1etaqfqq93\"><\/h2>\n\n&nbsp;\n\n<h2 id=\"mcetoc_1et7c9kgd2\">\u7e7c\u627f\u8207\u64f4\u5145<\/h2>\n\n<h3 id=\"mcetoc_1et7c9qvg4\">\u55ae\u4e00\u7e7c\u627f<\/h3>\n\n<img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/tutorials.supunkavinda.blog\/static\/images\/php-oop-inheritance-2.png\" width=\"500\" height=\"400\" class=\"alignnone size-full\" \/>\n\n<img decoding=\"async\" src=\"https:\/\/media.geeksforgeeks.org\/wp-content\/cdn-uploads\/20190501121513\/inheritance.png\" width=\"748\" height=\"515\" class=\"alignnone \" \/>\n\n&nbsp;\n\n<img decoding=\"async\" src=\"https:\/\/www.pngitem.com\/pimgs\/m\/216-2168038_inheritance-java-tutorial-edureka-inheritance-in-java-real.png\" width=\"777\" height=\"393\" class=\"alignnone \" \/>\n\n&nbsp;\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/5536\/1*CaTNbDiboMzEXuBB2AaDjg.png\" width=\"927\" height=\"511\" class=\"alignnone \" \/>\n\n&nbsp;\n\n<h3 id=\"mcetoc_1et7c9nms3\">\u591a\u91cd\u7e7c\u627f<\/h3>\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/image.slidesharecdn.com\/02oo-150326013333-conversion-gate01\/95\/introduction-to-object-oriented-concepts-19-638.jpg?cb=1427333713\" width=\"638\" height=\"479\" class=\"alignnone size-full\" \/>\n\n&nbsp;\n\n&nbsp;\n\n&nbsp;\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s1.o7planning.com\/en\/11417\/images\/7660079.png\" width=\"529\" height=\"566\" class=\"alignnone size-full\" \/>\n\n&nbsp;\n\n<h2 id=\"mcetoc_1et7c9tt05\">\u4ecb\u9762\u8207\u5be6\u4f5c<\/h2>\n\n<h3 id=\"mcetoc_1et7crkgf8\">Mutants<\/h3>\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.pinimg.com\/originals\/7e\/ca\/cf\/7ecacfaca6ecb31fe999d1723b14641d.jpg\" width=\"662\" height=\"508\" class=\"alignnone \" \/>\n\n&nbsp;\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.pinimg.com\/originals\/7f\/38\/05\/7f3805cc7dd3882d6bc9131626000e0c.jpg\" width=\"660\" height=\"419\" class=\"alignnone \" \/>\n\n&nbsp;\n\n<h3 id=\"mcetoc_1et7csiid9\">\u5be6\u4f5c\u98db\u884c\u4ecb\u9762<\/h3>\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/blogphotos.cybertranslator.idv.tw\/weirdly\/2018\/03\/real-life-Iron-Man.jpg?resize=600%2C400\" width=\"600\" height=\"400\" class=\"alignnone size-full\" \/>\n\n&nbsp;\n\n<h4>\u00a0\u7121\u6575\u9435\u91d1\u92fc &#8211; \u91d1\u92fc\u98db\u7ffc<\/h4>\n\n\n\n&nbsp;\n\n<hr \/>\n\n<h1 id=\"mcetoc_1et7imki30\">\u7269\u4ef6\u3001\u5be6\u4f8b\u8207\u5177\u73fe\u5316<\/h1>\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/infinitespeak.files.wordpress.com\/2014\/02\/dog_example.png\" width=\"551\" height=\"284\" class=\"alignnone \" \/>\n\n&nbsp;\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i.ytimg.com\/vi\/yy3yLGkuXPk\/maxresdefault.jpg\" width=\"530\" height=\"298\" class=\"alignnone \" \/>\n\n&nbsp;\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/1.bp.blogspot.com\/-pFHJTng93q4\/XU-utsYfSjI\/AAAAAAAAEno\/43JhWi3SrVAVmXc3UyKmhyXKH74esCKHACLcBGAs\/s1600\/object-class-diagrame-1.png\" width=\"544\" height=\"252\" class=\"alignnone \" \/>\n\n&nbsp;\n\n&nbsp;\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.freetutorialsplus.com\/php-tutorial\/images\/class-object-relationship-illustration.png\" width=\"661\" height=\"241\" class=\"alignnone \" \/>\n\n&nbsp;\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/zentut.com\/\/wp-content\/uploads\/2013\/03\/PHP-OOP-objects-vs.-classes.jpg\" width=\"631\" height=\"263\" class=\"alignnone \" \/>\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/javatutorial.net\/wp-content\/uploads\/2014\/11\/class-object-featured-image.png\" width=\"662\" height=\"280\" class=\"alignnone \" \/>\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/intellipaat.com\/mediaFiles\/2019\/03\/python10.png\" width=\"559\" height=\"364\" class=\"alignnone \" \/>\n\n&nbsp;\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/01\/Classes-Objects-in-Java.jpg\" width=\"577\" height=\"302\" class=\"alignnone \" \/>\n\n&nbsp;\n\n&nbsp;\n\n&nbsp;\n\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2020\/02\/java-class-objects.jpg\" width=\"571\" height=\"299\" class=\"alignnone \" \/>\n\n&nbsp;\n\n&nbsp;\n\n<h1 id=\"mcetoc_1et7c9tt05\">Resources<\/h1>\n\n","protected":false},"excerpt":{"rendered":"<p>\u985e\u5225 Members Properties Methods Informatio &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","fifu_image_url":"","fifu_image_alt":"","footnotes":""},"categories":[266],"tags":[],"class_list":["post-12214","post","type-post","status-publish","format-standard","hentry","category-266"],"_links":{"self":[{"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/posts\/12214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/comments?post=12214"}],"version-history":[{"count":1,"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/posts\/12214\/revisions"}],"predecessor-version":[{"id":13704,"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/posts\/12214\/revisions\/13704"}],"wp:attachment":[{"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/media?parent=12214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/categories?post=12214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fgchen.com\/wpedu\/wp-json\/wp\/v2\/tags?post=12214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}