{"id":3704,"date":"2016-05-15T22:10:47","date_gmt":"2016-05-15T16:10:47","guid":{"rendered":"https:\/\/mcqacademy.com\/en\/mcq\/which-two-are-valid-constructors-for-thread\/"},"modified":"2016-05-15T22:10:47","modified_gmt":"2016-05-15T16:10:47","slug":"which-two-are-valid-constructors-for-thread","status":"publish","type":"mcq","link":"https:\/\/mcqacademy.com\/en\/mcq\/which-two-are-valid-constructors-for-thread\/","title":{"rendered":"Which two are valid constructors for 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-3704","mcq","type-mcq","status-publish","hentry","topic-threads","subject-java-programming"],"mcq_note":"(C), (D), and (E) are not legal Thread constructors, although (D) is close. If you reverse the arguments in (D), you'd have a valid constructor.","mcq_options":[{"right":"yes","answer":"<code>Thread(Runnable r, String name)<\/code>"},{"right":"yes","answer":"<code>Thread()<\/code>"},{"right":"no","answer":"<code>Thread(int priority)<\/code>"},{"right":"no","answer":"<code>Thread(Runnable r, ThreadGroup g)<\/code>"},{"right":"no","answer":"<code>Thread(Runnable r, int priority)<\/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\/3704","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=3704"}],"wp:attachment":[{"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/media?parent=3704"}],"wp:term":[{"taxonomy":"topic","embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/topic?post=3704"},{"taxonomy":"subject","embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/subject?post=3704"},{"taxonomy":"education_level","embeddable":true,"href":"https:\/\/mcqacademy.com\/en\/wp-json\/wp\/v2\/education_level?post=3704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}