Reading Exercise #6
Due 4:00 PM, Tuesday Feb. 25, 2014
for Chapters 8.4 (pp 410-417) of the Scott Text.
Content of reading exercise #6
- What is the principle use of generics?
- Compare generics to parametric polymorphism found in Haskell.
- When can separate instances of generic code share implementation code?
- What does it mean for a generic parameter to be constrained?
- Why will C# accept int as a generic argument, but Java won't?