Home > Back-end >  Save the children, a freshman subject is made tomorrow
Save the children, a freshman subject is made tomorrow

Time:12-05

A book chapters can be seen as the primary title, under a number of secondary primary title title, secondary title under several tertiary title, try to design a series of object-oriented programming thought inheritance the title of the class, including the title number, title name such as data, and then through the dynamic array to achieve a book chapter structure, and chapters of the book catalogue to print on the screen,
Note:
(1) print section directory, need to print the title in the title order serial number and title name, as shown in the figure below,

CodePudding user response:

First class title a class, second class titled subclasses, and so on
  • Related