Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Sometimes I use an object purely as a data container, e.g. /** public Trade(String Time, int TradeNo, String StockSymbol, String StockShortName, String TradeType, int Price, int Volume) The object does not have a state as such, and using public fields removes a lot of tedious prorgamming work - writing get and set methods for every field would drive me insane. Replies:
|
Sponsored Links
|