Review

Review

The following review questions are intended to reinforce key concepts and information presented in this chapter. If you are unable to answer a question, return to the appropriate lesson and review, then try the lesson again. Answers to the questions can be found in Appendix A.



  1. Briefly explain encapsulation and why it is important in object-oriented programming.

  2. What is method overloading, and when is it useful?

  3. You need to create several unrelated classes where each class exposes a common set of methods. Briefly outline a strategy that will allow these classes to polymorphically expose that functionality to other classes.

  4. You need to create several classes that provide a core set of functionality, but each class must be able to interact with a different set of objects. Outline a strategy for developing these classes with the least development time.

  5. Describe an abstract class, and explain when one might be useful.



MCAD(s)MCSD Self-Paced Training Kit(c) Developing Windows-Based Applications With Microsoft Visual Basic. Net a[.  .. ]0-316
MCAD(s)MCSD Self-Paced Training Kit(c) Developing Windows-Based Applications With Microsoft Visual Basic. Net a[. .. ]0-316
ISBN: 735619263
EAN: N/A
Year: 2003
Pages: 110

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