Answer:
I will code in Java.
public class Book {
private String title;
private String author;
private String publisher;
private int copiesSold;
//the constructor method accepts the parameters for each field.
public Book(String title, String author, String publisher, int copiesSold){
//each parameter is set to each field of the class.
this.title = title;
this.author = author;
this.publisher = publisher;
this.copiesSold = copiesSold;
}
}