Section 6.9. Exercises


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.



Learning C# 2005
Learning C# 2005: Get Started with C# 2.0 and .NET Programming (2nd Edition)
ISBN: 0596102097
EAN: 2147483647
Year: 2004
Pages: 250

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net