Monday, July 27, 2009

Type safe

what is meant by "Type safe"

Arrays in java always been type safe, which means if u declare an array as a String array it cannot accept Integers.(or ints).

important
from java 5 , type safety feature has been added to collection frame work.
which means , that from 5 onwards u can declare ArrayLists with type safety.

No comments:

Post a Comment