{"id":3693,"date":"2016-05-15T23:03:05","date_gmt":"2016-05-15T17:03:05","guid":{"rendered":"https:\/\/mcqacademy.com\/en\/mcq\/which-class-or-interface-defines-the-wait-notify-and-notifyall-methods\/"},"modified":"2016-05-15T23:03:05","modified_gmt":"2016-05-15T17:03:05","slug":"which-class-or-interface-defines-the-wait-notify-and-notifyall-methods","status":"publish","type":"mcq","link":"https:\/\/mcqacademy.com\/en\/mcq\/which-class-or-interface-defines-the-wait-notify-and-notifyall-methods\/","title":{"rendered":"Which class or interface defines the wait(), notify(), and notifyAll() methods?"},"content":{"rendered":"<p>Which class or interface defines the <code>wait()<\/code>, <code>notify()<\/code>, and <code>notifyAll()<\/code> methods?<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","topic":[107],"subject":[16],"education_level":[],"class_list":["post-3693","mcq","type-mcq","status-publish","hentry","topic-threads","subject-java-programming"],"mcq_note":"The Object class defines these thread-specific methods.\r\n\r\nOption B, C, and D are incorrect because they do not define these methods. And yes, the Java API does define a class called Class, though you do not need to know it for the exam.","mcq_options":[{"right":"yes","answer":"Object"},{"right":"no","answer":"Thread"},{"right":"no","answer":"Runnable"},{"right":"no","answer":"Class"}],"multi_answers":"no","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\/3693","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=3693"}],"wp:attachment":[{"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/media?parent=3693"}],"wp:term":[{"taxonomy":"topic","embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/topic?post=3693"},{"taxonomy":"subject","embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/subject?post=3693"},{"taxonomy":"education_level","embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/education_level?post=3693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}