Hi,

>From reading the Generic subject, it seems to me Generic here refers
to the type that's assigned to a collection which will prevents
ClassCastException.

Ex:
Vector<String> vs = new Vector<String>();

For example, in the sample code above, we are using a Generic of type
string assign to the vector.  Is my understanding correct here about
Generic?  Thx.

Lawrence

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to