{"id":546,"date":"2019-08-25T12:07:17","date_gmt":"2019-08-25T06:22:17","guid":{"rendered":"https:\/\/bcisnotes.com\/secondsemester\/?p=546"},"modified":"2020-01-10T14:17:14","modified_gmt":"2020-01-10T08:32:14","slug":"inheritance","status":"publish","type":"post","link":"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/","title":{"rendered":"Inheritance || Inheritance, Interfaces and Packages || Bcis Notes"},"content":{"rendered":"<h2>Inheritance and Member Access<\/h2>\n<p>Inheritance simply defined as the behaviour and character that the subclass or the child class gets itself by default from the parent class which makes the software reusability.<br \/>\nUsing inheritance, you can create a general class that defines traits common to a set of related items. This class can then be inherited by other, more specific classes, each adding those things that are unique to it. In the terminology of Java, a class that is inherited is called a superclass. The class that does the inheriting is called a subclass. Therefore, a subclass is a specialized version of a superclass. It inherits all of the instance variables and methods defined by the superclass and adds its own, unique elements.<\/p>\n<p><strong>Inheritance Basics<\/strong><\/p>\n<p>To inherit a class, you simply incorporate the definition of one class into another by using the extends keyword. To see how to let\u2019s begin with a short example. The following program creates a superclass called A and a subclass called B.<br \/>\nNotice how the keyword extends is used to create a subclass of A.<\/p>\n<p>\/\/ A simple example of inheritance.<br \/>\n\/\/ Create a superclass.<br \/>\nPublic class A {<br \/>\nint i, j;<br \/>\nvoid showij() {<br \/>\nSystem.out.println(&#8220;i and j: &#8221; + i + &#8221; &#8221; + j);<br \/>\n}<br \/>\n}<br \/>\n\/\/ Create a subclass by extending class A.<br \/>\nclass B extends A {<br \/>\nint k;<br \/>\nvoid showk() {<br \/>\nSystem.out.println(&#8220;k: &#8221; + k);<br \/>\n}<br \/>\nvoid sum() {<br \/>\nSystem.out.println(&#8220;i+j+k: &#8221; + (i+j+k));<br \/>\n}<br \/>\n}<\/p>\n<p><strong>Example of the simple inheritance.<\/strong><br \/>\nPublic class SimpleInheritance {<br \/>\npublic static void main(String args[]) {<br \/>\nA superOb = new A();<br \/>\nB subOb = new B();<br \/>\n\/\/ The superclass may be used by itself.<br \/>\nsuperOb.i = 10;<br \/>\nsuperOb.j = 20;<br \/>\nSystem.out.println(&#8220;Contents of superOb: &#8220;);<br \/>\nsuperOb.showij();<br \/>\nSystem.out.println();<br \/>\n\/* The subclass has access to all public members of<br \/>\nits superclass. *\/<br \/>\nsubOb.i = 7;<br \/>\nsubOb.j = 8;<br \/>\nsubOb.k = 9;<br \/>\nSystem.out.println(&#8220;Contents of subOb: &#8220;);<br \/>\nsubOb.showij();<br \/>\nsubOb.showk();<br \/>\nSystem.out.println();<br \/>\nSystem.out.println(&#8220;Sum of i, j and k in subOb:&#8221;);<br \/>\nsubOb.sum();<br \/>\n}<br \/>\n}<\/p>\n<p>The output from this program is shown here:<br \/>\nContents of superOb:<br \/>\ni and j: 10 20<br \/>\nContents of subOb:<br \/>\ni and j: 7 8<br \/>\nk: 9<br \/>\nSum of i, j and k in subOb:<br \/>\ni+j+k: 24<\/p>\n<p>As you can see, the subclass B includes all of the members of its superclass, A. This is why subOb can access i and j and call showij( ). Also, inside sum( ), i and j can be referred to directly, as if they were part of B. Even though A is a superclass for B, it is also a completely independent, stand-alone class. Being a superclass for a subclass does not mean that the superclass cannot be used by itself. Further, a subclass can be a superclass for another subclass.<\/p>\n<h2>Member Access and Inheritance<\/h2>\n<p>Although a subclass includes all of the members of its superclass, it cannot access those members of the superclass that have been declared as private. For example, consider the following simple class hierarchy:<br \/>\n\/* In a class hierarchy, private members remain private to their class. This program contains an error and will not compile. *\/<br \/>\n\/\/ Create a superclass.<br \/>\nclass A {<br \/>\nint i; \/\/ public by default<br \/>\nprivate int j; \/\/ private to A<br \/>\nvoid setij(int x, int y) {<br \/>\ni = x;<br \/>\nj = y;<br \/>\n}<br \/>\n}<br \/>\n\/\/ A&#8217;s j is not accessible here.<br \/>\nclass B extends A {<br \/>\nint total;<br \/>\nvoid sum() {<br \/>\ntotal = i + j; \/\/ ERROR, j is not accessible here<br \/>\n}<br \/>\n}<br \/>\nclass Access {<br \/>\npublic static void main(String args[]) {<br \/>\nB subOb = new B();<br \/>\nsubOb.setij(10, 12);<br \/>\nsubOb.sum();<br \/>\nSystem.out.println(&#8220;Total is &#8221; + subOb.total);<br \/>\n}<br \/>\n}<br \/>\nThis program will not compile because the reference to j inside the sum( ) method of B causes an access violation. Since j is declared as private, it is only accessible by other members of its own class. Subclasses have no access to it.<\/p>\n<p>You may also like <a href=\"https:\/\/bcisnotes.com\/secondsemester\/garbage-collection\/\">garbage collection<\/a><\/p>\n<div class=\"hculw69faacb578c8c\" ><div id=\"amzn-assoc-ad-668fe681-bdc6-49ee-a9f9-a4c2f5be29a0\"><\/div><script async src=\"\/\/z-na.amazon-adsystem.com\/widgets\/onejs?MarketPlace=US&adInstanceId=668fe681-bdc6-49ee-a9f9-a4c2f5be29a0\"><\/script><\/div><style type=\"text\/css\">\r\n@media screen and (min-width: 1201px) {\r\n.hculw69faacb578c8c {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.hculw69faacb578c8c {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.hculw69faacb578c8c {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.hculw69faacb578c8c {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.hculw69faacb578c8c {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Inheritance and Member Access Inheritance simply defined as the behaviour and character that the subclass or the child class gets itself by default from the <a class=\"mh-excerpt-more\" href=\"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/\" title=\"Inheritance || Inheritance, Interfaces and Packages || Bcis Notes\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":6,"featured_media":844,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Inheritance || Inheritance, Interfaces and Packages || Bcis Notes<\/title>\n<meta name=\"description\" content=\"Inheritance simply defined as the behaviour and character that the subclass gets itself by default from the parent class which makes reusability.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Inheritance || Inheritance, Interfaces and Packages || Bcis Notes\" \/>\n<meta property=\"og:description\" content=\"Inheritance simply defined as the behaviour and character that the subclass gets itself by default from the parent class which makes reusability.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/\" \/>\n<meta property=\"og:site_name\" content=\"BCIS NOTES\" \/>\n<meta property=\"article:published_time\" content=\"2019-08-25T06:22:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-10T08:32:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2019\/08\/inheritance.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"340\" \/>\n\t<meta property=\"og:image:height\" content=\"230\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Octopus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Octopus\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/\"},\"author\":{\"name\":\"Octopus\",\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/#\/schema\/person\/1e7cf3abcf4849e9d66fc9f6b67ee861\"},\"headline\":\"Inheritance || Inheritance, Interfaces and Packages || Bcis Notes\",\"datePublished\":\"2019-08-25T06:22:17+00:00\",\"dateModified\":\"2020-01-10T08:32:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/\"},\"wordCount\":630,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/#organization\"},\"image\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2019\/08\/inheritance.jpg\",\"articleSection\":[\"Object Oriented Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/\",\"url\":\"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/\",\"name\":\"Inheritance || Inheritance, Interfaces and Packages || Bcis Notes\",\"isPartOf\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2019\/08\/inheritance.jpg\",\"datePublished\":\"2019-08-25T06:22:17+00:00\",\"dateModified\":\"2020-01-10T08:32:14+00:00\",\"description\":\"Inheritance simply defined as the behaviour and character that the subclass gets itself by default from the parent class which makes reusability.\",\"breadcrumb\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/#primaryimage\",\"url\":\"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2019\/08\/inheritance.jpg\",\"contentUrl\":\"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2019\/08\/inheritance.jpg\",\"width\":340,\"height\":230,\"caption\":\"Inheritance || Inheritance, Interfaces and Packages || Bcis Notes\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/bcisnotes.com\/secondsemester\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Inheritance || Inheritance, Interfaces and Packages || Bcis Notes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/#website\",\"url\":\"https:\/\/bcisnotes.com\/secondsemester\/\",\"name\":\"BCIS NOTES\",\"description\":\"Second Semester\",\"publisher\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/bcisnotes.com\/secondsemester\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/#organization\",\"name\":\"BCIS NOTES\",\"url\":\"https:\/\/bcisnotes.com\/secondsemester\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2019\/12\/cropped-2.jpg\",\"contentUrl\":\"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2019\/12\/cropped-2.jpg\",\"width\":300,\"height\":100,\"caption\":\"BCIS NOTES\"},\"image\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/#\/schema\/person\/1e7cf3abcf4849e9d66fc9f6b67ee861\",\"name\":\"Octopus\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e31a69c6a6d830dca58523a537833871?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e31a69c6a6d830dca58523a537833871?s=96&d=mm&r=g\",\"caption\":\"Octopus\"},\"url\":\"https:\/\/bcisnotes.com\/secondsemester\/author\/sujan\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Inheritance || Inheritance, Interfaces and Packages || Bcis Notes","description":"Inheritance simply defined as the behaviour and character that the subclass gets itself by default from the parent class which makes reusability.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/","og_locale":"en_US","og_type":"article","og_title":"Inheritance || Inheritance, Interfaces and Packages || Bcis Notes","og_description":"Inheritance simply defined as the behaviour and character that the subclass gets itself by default from the parent class which makes reusability.","og_url":"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/","og_site_name":"BCIS NOTES","article_published_time":"2019-08-25T06:22:17+00:00","article_modified_time":"2020-01-10T08:32:14+00:00","og_image":[{"width":340,"height":230,"url":"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2019\/08\/inheritance.jpg","type":"image\/jpeg"}],"author":"Octopus","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Octopus","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/#article","isPartOf":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/"},"author":{"name":"Octopus","@id":"https:\/\/bcisnotes.com\/secondsemester\/#\/schema\/person\/1e7cf3abcf4849e9d66fc9f6b67ee861"},"headline":"Inheritance || Inheritance, Interfaces and Packages || Bcis Notes","datePublished":"2019-08-25T06:22:17+00:00","dateModified":"2020-01-10T08:32:14+00:00","mainEntityOfPage":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/"},"wordCount":630,"commentCount":0,"publisher":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/#organization"},"image":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/#primaryimage"},"thumbnailUrl":"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2019\/08\/inheritance.jpg","articleSection":["Object Oriented Programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/","url":"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/","name":"Inheritance || Inheritance, Interfaces and Packages || Bcis Notes","isPartOf":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/#primaryimage"},"image":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/#primaryimage"},"thumbnailUrl":"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2019\/08\/inheritance.jpg","datePublished":"2019-08-25T06:22:17+00:00","dateModified":"2020-01-10T08:32:14+00:00","description":"Inheritance simply defined as the behaviour and character that the subclass gets itself by default from the parent class which makes reusability.","breadcrumb":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/#primaryimage","url":"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2019\/08\/inheritance.jpg","contentUrl":"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2019\/08\/inheritance.jpg","width":340,"height":230,"caption":"Inheritance || Inheritance, Interfaces and Packages || Bcis Notes"},{"@type":"BreadcrumbList","@id":"https:\/\/bcisnotes.com\/secondsemester\/object-oriented-programming\/inheritance\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bcisnotes.com\/secondsemester\/"},{"@type":"ListItem","position":2,"name":"Inheritance || Inheritance, Interfaces and Packages || Bcis Notes"}]},{"@type":"WebSite","@id":"https:\/\/bcisnotes.com\/secondsemester\/#website","url":"https:\/\/bcisnotes.com\/secondsemester\/","name":"BCIS NOTES","description":"Second Semester","publisher":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bcisnotes.com\/secondsemester\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/bcisnotes.com\/secondsemester\/#organization","name":"BCIS NOTES","url":"https:\/\/bcisnotes.com\/secondsemester\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bcisnotes.com\/secondsemester\/#\/schema\/logo\/image\/","url":"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2019\/12\/cropped-2.jpg","contentUrl":"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2019\/12\/cropped-2.jpg","width":300,"height":100,"caption":"BCIS NOTES"},"image":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/bcisnotes.com\/secondsemester\/#\/schema\/person\/1e7cf3abcf4849e9d66fc9f6b67ee861","name":"Octopus","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bcisnotes.com\/secondsemester\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e31a69c6a6d830dca58523a537833871?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e31a69c6a6d830dca58523a537833871?s=96&d=mm&r=g","caption":"Octopus"},"url":"https:\/\/bcisnotes.com\/secondsemester\/author\/sujan\/"}]}},"_links":{"self":[{"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/posts\/546"}],"collection":[{"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/comments?post=546"}],"version-history":[{"count":3,"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/posts\/546\/revisions"}],"predecessor-version":[{"id":550,"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/posts\/546\/revisions\/550"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/media\/844"}],"wp:attachment":[{"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/media?parent=546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/categories?post=546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/tags?post=546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}