java - Storing Double in ArrayList -
i have arraylist of type integer, possible store value in (eg: 1.25) without having cast int therefore losing bit after decimal?
no, cannot store doubles in arraylist<integer>
without loss of precision. can, however, store them in arraylist<double>
.
Comments
Post a Comment