How can I use Inheritance to catch multiple exceptions of different types and display the stack trace showing their relationship?

后端 未结 0 1692
有刺的猬
有刺的猬 2020-12-11 14:37

I\'m asked to Use inheritance to create an exception superclass (called ExceptionA) and exception subclasses ExceptionB and ExceptionC, where ExceptionB inherits from Except

相关标签:
回答
  • 消灭零回复
提交回复
热议问题