Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IBM MOCK EXAM QUESTION

 
Rajesh Gupta
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Anuj
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic