Java Reference
In-Depth Information
Its output is shown here:
You can, of course, also return objects of classes that you create. For example, here is
a reworked version of the preceding program that creates two error classes. One is called
Err , and it encapsulates an error message along with a severity code. The second is called
ErrorInfo . It defines a method called getErrorInfo( ) , which returns an Err object.
Search WWH ::




Custom Search