Programming - Generic Types - Discussion

You Are Here :: Home > JAVA > Generic Types - Discussion

 



Q.

Is the programmer need to rewrite the class or interface,when a generic class or generic interfaces is written?  .                          


A. Yes B. no
C. Cant say D. none

Answer: Option B
Explaination:

 


No need to rewrite the code for the same class or interface because whenever user wants to use the class or interface with a new datatype.




Discussion

Your Comments Goes here...
NameDiscussion