Consider the following (partially defined) Java class Book.
public class Book {
private String author;
private String title;
private int year;
private String publisher;
public Book (String a, String t, int y, String p) {
// ... code
} public Book() {
// ... code
} public String toString() {
// ... code
} public void displayBook() {
// ... code }
}
a. List the data fields (also known as properties or instance variables) of the class Book.
b. How many constructors define the class Book.
c. Identify an overloaded entity defined by the class Book. Explain.
d. List the methods defined by the class Book.