{"id":3703,"date":"2016-05-15T22:18:58","date_gmt":"2016-05-15T16:18:58","guid":{"rendered":"https:\/\/mcqacademy.com\/en\/mcq\/which-three-are-methods-of-the-object-class\/"},"modified":"2016-05-15T22:18:58","modified_gmt":"2016-05-15T16:18:58","slug":"which-three-are-methods-of-the-object-class","status":"publish","type":"mcq","link":"https:\/\/mcqacademy.com\/en\/mcq\/which-three-are-methods-of-the-object-class\/","title":{"rendered":"Which three are methods of the Object class?"},"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-3703","mcq","type-mcq","status-publish","hentry","topic-threads","subject-java-programming"],"mcq_note":"(A), (B), and (F) are correct. They are all related to the list of threads waiting on the specified object.\r\n\r\nThe methods <code>sleep()<\/code> and <code>yield()<\/code> are static methods of <strong>Thread<\/strong>.\r\n\r\nD is incorrect because <strong>synchronized<\/strong> is a keyword and the <code>synchronized()<\/code> construct is part of the Java language.","mcq_options":[{"right":"yes","answer":"<code>notify();<\/code>"},{"right":"yes","answer":"<code>notifyAll();<\/code>"},{"right":"no","answer":"<code>isInterrupted();<\/code>"},{"right":"no","answer":"<code>synchronized();<\/code>"},{"right":"no","answer":"<code>interrupt();<\/code>"},{"right":"yes","answer":"<code>wait(long msecs);<\/code>"},{"right":"no","answer":"<code>sleep(long msecs);<\/code>"},{"right":"no","answer":"<code>yield();<\/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\/3703","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=3703"}],"wp:attachment":[{"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/media?parent=3703"}],"wp:term":[{"taxonomy":"topic","embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/topic?post=3703"},{"taxonomy":"subject","embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/subject?post=3703"},{"taxonomy":"education_level","embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/education_level?post=3703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}