This question is from IBM mock exam: Java Developers can't create their subclasses to Error? True False Now my answer to above is yes .But what could be the possible use of that type of subclass? Please answer and correct me if I'm wrong.
posted 16 years ago
i believe the answer is false. A programmer can choose to make his class error. A possible benefit would be to see the flow of logic through different classes in a Java application because when the error occurs, you get to see the sequence in which the application is calling different methods in different classes of the application. Did that help? Anuj Saxena