Q#:Create a classBookthat has the following data members:
Create a constructor to initialize all data members. Write a methodPrintInfoto print information containing the fields of class.
Write another class calledLibrarythat must contain aMainmethod. InsideMain, make at least 10 instances ofBook,stored in an array (or list) of type Book. Call the methodprintInfo() for each instance. (Hint: use offoreachloop will be beneficial).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here