6.9. Exercises -
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. |