Write Java statements as required in the following questions:
1) Look at the following partial class definition, and respond the questions that follow it:
public class Book
{
private String title;
private String author;
private String publisher;
private int copiesSold;
}
a) Write a no-arg constructor for this class. It assigns all String fields to “N/A” and the copiesSold to 0.
b) Write an overloaded constructor that accepts arguments to initialize title, author and publisher. It assigns copiesSold to 0.
c) Write another overloaded constructor for this class. The constructor should accept an argument for each of the field.
d) Write an accessor method for the title field.
e) Write a mutator method for the copiesSold field.
f) Draw a UML diagram for the class, including the methods you have written.
ANYTHING WILL HELP PLEASE.