Week 1 – AssignmentQ1. Create a Console Application having a base class Parent and another derived class Child. In Parent class declare a member variable parentString, one unparametrized constrctor displaying amessage “Parent Constructor”, one more constructor accepting one string paramenter and displayingthat string and one void function print displaying a message “I am a parent class”.In Child class create a constructor using base class constructor, displaying “Child Constructor” and a printfunction displaying “I am a child class”.In main function create an object of Parent and Child classes and call their print function.Q2. Create a class Book with member variables string Title, string Authors, decimal Price and boolPaperback. Create a constructor taking four arguments for initializing all four member variables.Create another class BookDB to maintain the book database having an array list as member variable anda public function AddBook to add a book to the array list.Create a Test class to initialize the database with some books and print all the title of paperback booksalong with their average price.