195k views
4 votes
Write an example method that overrides the operator to create a new book whose title is a concatenation of the titles of two books. For example, if the first book's title is "The Adventures of Tom Sawyer" and the second book's title is "The Adventures of Huckleberry Finn", the concatenated title will be "The Adventures of Tom Sawyer and The Adventures of Huckleberry Finn". Assume the book class is defined as: class Book { public Book(string title) { Title

User Svz
by
5.3k points

1 Answer

4 votes

next time m8 mmmmmdsaasd

User MetalMikester
by
5.5k points