{"id":3701,"date":"2016-05-15T22:27:25","date_gmt":"2016-05-15T16:27:25","guid":{"rendered":"https:\/\/mcqacademy.com\/en\/mcq\/which-two-of-the-following-methods-are-defined-in-class-thread\/"},"modified":"2016-05-15T22:27:25","modified_gmt":"2016-05-15T16:27:25","slug":"which-two-of-the-following-methods-are-defined-in-class-thread","status":"publish","type":"mcq","link":"https:\/\/mcqacademy.com\/en\/mcq\/which-two-of-the-following-methods-are-defined-in-class-thread\/","title":{"rendered":"Which two of the following methods are defined in class Thread?"},"content":{"rendered":"","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","topic":[107],"subject":[16],"education_level":[],"class_list":["post-3701","mcq","type-mcq","status-publish","hentry","topic-threads","subject-java-programming"],"mcq_note":"(A) and (D) is right because only <code>start()<\/code> and <code>run()<\/code> are defined by the Thread class.\r\n\r\n(B) and (C) are incorrect because they are methods of the Object class. (E) is incorrect because there's no such method in any thread-related class.","mcq_options":[{"right":"yes","answer":"<code>start()<\/code>"},{"right":"no","answer":"<code>wait()<\/code>"},{"right":"no","answer":"<code>notify()<\/code>"},{"right":"yes","answer":"<code>run()<\/code>"},{"right":"no","answer":"<code>terminate()<\/code>"}],"multi_answers":"yes","subject_terms":[{"id":16,"title":"Java Programming","slug":"java-programming"}],"topic_terms":[{"id":107,"title":"Threads","slug":"threads"}],"_links":{"self":[{"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/mcq\/3701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/mcq"}],"about":[{"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/types\/mcq"}],"author":[{"embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/comments?post=3701"}],"wp:attachment":[{"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/media?parent=3701"}],"wp:term":[{"taxonomy":"topic","embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/topic?post=3701"},{"taxonomy":"subject","embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/subject?post=3701"},{"taxonomy":"education_level","embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/education_level?post=3701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}