- Exercise 6-1.
Draw a class diagram for a class named “vehicle,” and show
how the classes “car,” “truck,” and “motorcycle” derive from
it.
- Exercise 6-2.
Define a class Book
, in
which a book has a title, author, and ISBN, and the book can be
read or shelved.
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.