The doc for all the java SE classes:
Java Platform SE 6
Find the class in the lower left, click it and the doc will show in the main frame.
Type: Posts; User: Norm
The doc for all the java SE classes:
Java Platform SE 6
Find the class in the lower left, click it and the doc will show in the main frame.
You can validate the data when it is received in the constructor and throw an exception if the data is invalid. Many java classes do that. See the Integer class for an example.
You would need to...