{"id":1565,"date":"2021-05-24T12:20:19","date_gmt":"2021-05-24T06:35:19","guid":{"rendered":"https:\/\/bcisnotes.com\/secondsemester\/?p=1565"},"modified":"2021-05-24T12:20:19","modified_gmt":"2021-05-24T06:35:19","slug":"explain-the-deadlock-scenario-in-java-write-a-program","status":"publish","type":"post","link":"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/","title":{"rendered":"Explain the deadlock scenario in JAVA. Write a program to create your exception class."},"content":{"rendered":"<h1 style=\"text-align: center;\">Explain the deadlock scenario in JAVA. Write a program to create your exception class.<\/h1>\n<p>The answer to the question &#8220;<em>Explain the deadlock scenario in JAVA. Write a program to create your exception class.&#8221; is given below:<\/em><\/p>\n<p>Deadlock in java is a part of multithreading. Deadlock can occur in a situation when a thread is waiting for an object lock, that is acquired by another thread and the second thread is waiting for an object lock that is acquired by the first thread. Since both threads are waiting for each other to release the lock, the condition is called a deadlock.<\/p>\n<p>In Java, a deadlock is a situation where a minimum of two threads are holding the lock on some different resource, and both are waiting for the other\u2019s resource to complete its task. And, none is able to leave the lock on the resource it is holding.<\/p>\n<p>This usually happens when multiple threads need the same locks but obtain them in different orders. Multithreaded Programming in Java suffers from the deadlock situation because of the synchronized keyword.<\/p>\n<p>It causes the executing thread to block while waiting for the lock, or monitor, associated with the specified object.<\/p>\n<p>Although it is not completely possible to avoid deadlock condition, we can follow certain measures or pointers to avoid them:<\/p>\n<ul>\n<li>Avoid Nested Locks<\/li>\n<li>Avoid Unnecessary Locks<\/li>\n<li>Using Thread Join<\/li>\n<\/ul>\n<p>import java.util.ArrayList;<br \/>\nimport java.util.Arrays;<\/p>\n<p>class CustomException extends Exception {<br \/>\npublic CustomException(String starting) {<\/p>\n<p>super(starting);<br \/>\n}<br \/>\n}<\/p>\n<p>class Main {<\/p>\n<p>ArrayList&lt;String&gt; languages = new ArrayList&lt;&gt;(Arrays.asList(&#8220;Java&#8221;, &#8220;Python&#8221;, &#8220;JavaScript&#8221;));<\/p>\n<p>public void checkLanguage(String language) throws CustomException {<\/p>\n<p>if(languages.contains(language)) {<br \/>\nthrow new CustomException(language + &#8221; already exists&#8221;);<br \/>\n}<br \/>\nelse {<br \/>\nlanguages.add(language);<br \/>\nSystem.out.println(language + &#8221; is added to the ArrayList&#8221;);<br \/>\n}<br \/>\n}<\/p>\n<p>public static void main(String[] args) {<\/p>\n<p>Main obj = new Main();<\/p>\n<p>try {<br \/>\nobj.checkLanguage(&#8220;Swift&#8221;);<br \/>\nobj.checkLanguage(&#8220;Java&#8221;);<br \/>\n}<\/p>\n<p>catch(CustomException e) {<br \/>\nSystem.out.println(&#8220;[&#8221; + e + &#8220;] Exception Occured&#8221;);<br \/>\n}<br \/>\n}<br \/>\n}<\/p>\n<p>You may also like\u00a0<a href=\"https:\/\/bcisnotes.com\/secondsemester\/question-bank\/pokhara-university-2016-fall-object-oriented-language-bcis\/\">Pokhara University, 2016 Fall Object Oriented Language<\/a><\/p>\n<div class=\"axraa69f7fd2b372af\" ><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.axraa69f7fd2b372af {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.axraa69f7fd2b372af {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.axraa69f7fd2b372af {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.axraa69f7fd2b372af {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.axraa69f7fd2b372af {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Explain the deadlock scenario in JAVA. Write a program to create your exception class. The answer to the question &#8220;Explain the deadlock scenario in JAVA. <a class=\"mh-excerpt-more\" href=\"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/\" title=\"Explain the deadlock scenario in JAVA. Write a program to create your exception class.\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":14,"featured_media":1566,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Explain the deadlock scenario in JAVA. Write a program<\/title>\n<meta name=\"description\" content=\"The answer to the question &quot;Explain the deadlock scenario in JAVA. Write a program to create your exception class.&quot; is given below:\" \/>\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\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Explain the deadlock scenario in JAVA. Write a program\" \/>\n<meta property=\"og:description\" content=\"The answer to the question &quot;Explain the deadlock scenario in JAVA. Write a program to create your exception class.&quot; is given below:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/\" \/>\n<meta property=\"og:site_name\" content=\"BCIS NOTES\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-24T06:35:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2021\/05\/fall-2016-1-2.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=\"Satyal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Satyal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/\"},\"author\":{\"name\":\"Satyal\",\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/#\/schema\/person\/f8dbec6a3775d3a538119e749a62cea8\"},\"headline\":\"Explain the deadlock scenario in JAVA. Write a program to create your exception class.\",\"datePublished\":\"2021-05-24T06:35:19+00:00\",\"dateModified\":\"2021-05-24T06:35:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/\"},\"wordCount\":340,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/#organization\"},\"image\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2021\/05\/fall-2016-1-2.jpg\",\"articleSection\":[\"Q\/A\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/\",\"url\":\"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/\",\"name\":\"Explain the deadlock scenario in JAVA. Write a program\",\"isPartOf\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2021\/05\/fall-2016-1-2.jpg\",\"datePublished\":\"2021-05-24T06:35:19+00:00\",\"dateModified\":\"2021-05-24T06:35:19+00:00\",\"description\":\"The answer to the question \\\"Explain the deadlock scenario in JAVA. Write a program to create your exception class.\\\" is given below:\",\"breadcrumb\":{\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/#primaryimage\",\"url\":\"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2021\/05\/fall-2016-1-2.jpg\",\"contentUrl\":\"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2021\/05\/fall-2016-1-2.jpg\",\"width\":340,\"height\":230,\"caption\":\"Explain the deadlock scenario in JAVA\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/bcisnotes.com\/secondsemester\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Explain the deadlock scenario in JAVA. Write a program to create your exception class.\"}]},{\"@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\/f8dbec6a3775d3a538119e749a62cea8\",\"name\":\"Satyal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bcisnotes.com\/secondsemester\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/046e4cf5c1f258099878dc90092445b4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/046e4cf5c1f258099878dc90092445b4?s=96&d=mm&r=g\",\"caption\":\"Satyal\"},\"sameAs\":[\"http:\/\/bcisnotes.com\/secondsemester\"],\"url\":\"https:\/\/bcisnotes.com\/secondsemester\/author\/sadikshya\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Explain the deadlock scenario in JAVA. Write a program","description":"The answer to the question \"Explain the deadlock scenario in JAVA. Write a program to create your exception class.\" is given below:","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\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/","og_locale":"en_US","og_type":"article","og_title":"Explain the deadlock scenario in JAVA. Write a program","og_description":"The answer to the question \"Explain the deadlock scenario in JAVA. Write a program to create your exception class.\" is given below:","og_url":"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/","og_site_name":"BCIS NOTES","article_published_time":"2021-05-24T06:35:19+00:00","og_image":[{"width":340,"height":230,"url":"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2021\/05\/fall-2016-1-2.jpg","type":"image\/jpeg"}],"author":"Satyal","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Satyal","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/#article","isPartOf":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/"},"author":{"name":"Satyal","@id":"https:\/\/bcisnotes.com\/secondsemester\/#\/schema\/person\/f8dbec6a3775d3a538119e749a62cea8"},"headline":"Explain the deadlock scenario in JAVA. Write a program to create your exception class.","datePublished":"2021-05-24T06:35:19+00:00","dateModified":"2021-05-24T06:35:19+00:00","mainEntityOfPage":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/"},"wordCount":340,"commentCount":0,"publisher":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/#organization"},"image":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/#primaryimage"},"thumbnailUrl":"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2021\/05\/fall-2016-1-2.jpg","articleSection":["Q\/A"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/","url":"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/","name":"Explain the deadlock scenario in JAVA. Write a program","isPartOf":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/#primaryimage"},"image":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/#primaryimage"},"thumbnailUrl":"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2021\/05\/fall-2016-1-2.jpg","datePublished":"2021-05-24T06:35:19+00:00","dateModified":"2021-05-24T06:35:19+00:00","description":"The answer to the question \"Explain the deadlock scenario in JAVA. Write a program to create your exception class.\" is given below:","breadcrumb":{"@id":"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/#primaryimage","url":"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2021\/05\/fall-2016-1-2.jpg","contentUrl":"https:\/\/bcisnotes.com\/secondsemester\/wp-content\/uploads\/2021\/05\/fall-2016-1-2.jpg","width":340,"height":230,"caption":"Explain the deadlock scenario in JAVA"},{"@type":"BreadcrumbList","@id":"https:\/\/bcisnotes.com\/secondsemester\/q-a\/explain-the-deadlock-scenario-in-java-write-a-program\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bcisnotes.com\/secondsemester\/"},{"@type":"ListItem","position":2,"name":"Explain the deadlock scenario in JAVA. Write a program to create your exception class."}]},{"@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\/f8dbec6a3775d3a538119e749a62cea8","name":"Satyal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bcisnotes.com\/secondsemester\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/046e4cf5c1f258099878dc90092445b4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/046e4cf5c1f258099878dc90092445b4?s=96&d=mm&r=g","caption":"Satyal"},"sameAs":["http:\/\/bcisnotes.com\/secondsemester"],"url":"https:\/\/bcisnotes.com\/secondsemester\/author\/sadikshya\/"}]}},"_links":{"self":[{"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/posts\/1565"}],"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\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/comments?post=1565"}],"version-history":[{"count":1,"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/posts\/1565\/revisions"}],"predecessor-version":[{"id":1567,"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/posts\/1565\/revisions\/1567"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/media\/1566"}],"wp:attachment":[{"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/media?parent=1565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/categories?post=1565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bcisnotes.com\/secondsemester\/wp-json\/wp\/v2\/tags?post=1565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}