{"id":406,"date":"2007-10-21T00:00:00","date_gmt":"2007-10-21T00:00:00","guid":{"rendered":"http:\/\/www.strongd.net\/?p=406"},"modified":"2007-10-21T00:00:00","modified_gmt":"2007-10-21T00:00:00","slug":"Interfaces and Inheritance","status":"publish","type":"post","link":"https:\/\/www.strongd.net\/?p=406","title":{"rendered":"Interfaces and Inheritance"},"content":{"rendered":"<p><DIV id=PageTitle>Interfaces and Inheritance<\/DIV><br \/>\n<BLOCKQUOTE><br \/>\n<H3><A class=TutorialLink href=\"http:\/\/www.strongd.net\/blog\/show\/404\" target=_top>Interfaces<\/A><\/H3><br \/>\n<BLOCKQUOTE>You saw an example of implementing an interface in the previous lesson. You can read more about interfaces here\u2014what they are for, why you might want to write one, and how to write one. <\/BLOCKQUOTE><br \/>\n<H3><A class=TutorialLink href=\"http:\/\/www.strongd.net\/blog\/show\/405\" target=_top>Inheritance<\/A><\/H3><br \/>\n<BLOCKQUOTE>This section describes the way in which you can derive one class from another. That is, how a <I>subclass<\/I> can inherit fields and methods from a <I>superclass<\/I>. You will learn that all classes are derived from the <CODE>Object<\/CODE> class, and how to modify the methods that a subclass inherits from superclasses. This section also covers interface-like <I>abstract classes<\/I>. <\/BLOCKQUOTE><\/BLOCKQUOTE><br \/>\n<DIV><\/DIV><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Interfaces and Inheritance Interfaces You saw an example of implementing an interface in the previous lesson. You can read more about interfaces here\u2014what they are for, why you might want to write one, and how to write one. Inheritance This section describes the way in which you can derive one class from another. That is, &hellip; <a href=\"https:\/\/www.strongd.net\/?p=406\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Interfaces and Inheritance<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-406","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=406"}],"version-history":[{"count":0,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/406\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}