Related questions with answers
Question
How do you define a custom exception class?
Solution
VerifiedAnswered 1 year ago
Answered 1 year ago
Step 1
1 of 2By extending Exception or some subclass of Exception.
For example:
public class WrongData extends RuntimeException { ... }
Create an account to view solutions
By signing up, you accept Quizlet's Terms of Service and Privacy Policy
Create an account to view solutions
By signing up, you accept Quizlet's Terms of Service and Privacy Policy
More related questions
- computer science
- computer science
1/4
- computer science
- computer science
1/7