Reading Exercise #6
Due 5:00 PM, Tuesday Feb. 23, 2015
for Chapters 8.4 (pp 410-417) of the Scott Text.

Content of reading exercise #6

  1. What is the principle use of generics?
  2. Compare generics to parametric polymorphism found in Haskell.
  3. When can separate instances of generic code share implementation code?
  4. What does it mean for a generic parameter to be constrained?
  5. Why will C# accept int as a generic argument, but Java won't?