June 2017
Beginner
1296 pages
69h 23m
English
20.1 State whether each of the following is true or false. If false, explain why.
A generic method cannot have the same method name as a nongeneric method.
All generic method declarations have a type-parameter section that immediately precedes the method name.
A generic method can be overloaded by another generic method with the same method name but different method parameters.
A type parameter can be declared only once in the type-parameter section but can appear more than once in the method’s parameter list.
Type-parameter names among different generic methods must be unique.
The scope of a generic class’s type parameter is the entire class except its static members.
20.2 Fill in the blanks in each of the following: ...