You are viewing a single comment's thread. Return to all comments →
I solved it by using Datatype.MAX_VALUE; DataType.MIN_VALUE; ex. Long.MAX_VALUE;
Which might not be the point of the exercise, but I think it's really robust code.
Seems like cookies are disabled on this browser, please enable them to open this website
Java Datatypes
You are viewing a single comment's thread. Return to all comments →
I solved it by using Datatype.MAX_VALUE; DataType.MIN_VALUE; ex. Long.MAX_VALUE;
Which might not be the point of the exercise, but I think it's really robust code.