Discussion :: Generics - General Questions (Q.No.2)
|Isha Lal said: (Sep 29, 2011)|
|It will show a compiler error because the statement
"Field + 1" is incorrect.
Operand + is applied to 2 different datatypes, int and T.
Operand + is defined only for same datatypes.
Post your comments here:
Email : (optional)
» Your comments will be displayed only after manual approval.