Examlex

Solved

Let Point< T > Be a Generic Type

question 2

Multiple Choice

Let Point< T > be a generic type.We want to write a method that takes as parameter Point objects whose type parameter is the Number class,or any subclass of Number.We can do this by declaring the type of the method parameter as


Definitions:

Related Questions