Answer the following statements true (T) or false (F)
1) A generic method cannot have the same method name as a nongeneric method.
2) All generic method declarations have a type-parameter list that immediately precedes
the method name.
3) A generic method can be overloaded by another generic method with the same method
name but a different number of type parameters.
4) A type parameter can be declared only once in the type-parameter list but can appear
more than once in the method’s parameter list.
1) False. A generic method can be overloaded by nongeneric methods.
2) False. All generic method declarations have a type-parameter list that immediately
follows the method’s name.
3) True.
4) True
You might also like to view...
What type of software enables you to create dynamic slide shows?
a. Word processing b. Spreadsheet c. Presentation d. Database
In relational databases, there is a concept known as ________ which means that related tables must be consistent with one another
Fill in the blank(s) with correct word