Respuesta :
Answer:
None of the options are correct
Explanation:
The book has at least two constructors. The first constructor tells us that the Book class has a constructor to construct a Book object with the book title and author name in the line Book book1 = new Book("Secret Coders", "Gene Luen Yang");
The second constructor tells us that the Book class has a constructor to construct a Book object with the book title and publication year in the line Book book2 = new Book("Alan Turing: The Enigma", 2014);
Answer:
Only B is correct.
Explanation:
First of all, it has two constructors, and you can conclude that you do not need the book title and publication year because they said the code compiles without error and the examples they give us where one does not have an publication year so that is incorrect because they use the term "required". But B is correct because it says you MAY or MAY NOT need the author's name which is true! AND I just took the test and I am correct.