DEV Community

Discussion on: Java: Wrapper Class ⭐️

Collapse
 
vlasales profile image
Vlastimil Pospichal

I don't use wrapper classes, because "weight" is not float or instance of Float, but instance of Weight with some other attributes, eg. unit.