You are viewing a single comment's thread. Return to all comments →
what method should i use
Not method, but constant MIN_VALUE or MAX_VALUE od each type;
e.g. for int you can use Integer.MIN_VALUE and Integer.MAX_VALUE.
I believe, the idea was to "solve" proving that you "know" what the MIN and MAX are. Not, using the library constant.
all in one