Answer:
Step-by-step explanation:
The following code is written in Java and creates the constructor for the Dictionary class as requested. This class extends the Book class and assumes that the variables for the title and the cost are part of the Book class, so it simply calls and initializes them using the constructor.
class Dictionary extends Book {
int numberWords;
public void Dictionary(String title, int cost, int numberWords) {
this.title = title;
this.cost = cost;
this.numberWords = numberWords;
}
}