0
/ 10
Using generics in your program can be very useful considering generic methods and generic classes can handle different datatypes....
Using generics in your program can be very useful considering generic
methods and generic classes can handle different datatypes. Practice using
generics by completing the class Answer
:
value
setValue(T newValue)
with a generic parameter and
sets the field value
to the parametergetValue()
that returns the field value
.Your feedback will appear here when you check your answer.