May 2008
Beginner
550 pages
13h 22m
English
What are the major advantages of generics?
Listing 12-3 shows a method named ShowData() that is used to fill the listbox objects with the appropriate data. How would you modify that method to take advantage of generics?
What are the major advantages of interfaces?
The swap() method in clsQuickSort is a little sloppy because we rely on class scope for the data being swapped. Rewrite the swap() method so it can still swap any type of data of the class, but without relying on class scope.
One of the major banes of writing commercial software is adding new features without breaking older versions. Do any of the topics discussed in this chapter cause you to rethink software versioning?
Read now
Unlock full access