9- Throwing Exceptions
4:41
2 Овозли эшиттиришлар
1 Боблар
105 сегментлар
Овозли эшиттиришлар
Боблар
-
0:03Боб 1: So far we've only been handling or catching exceptions, but sometimes we want to throw an exception. 275s · Speaker 2
So far we've only been handling or catching exceptions, but sometimes we want to throw an exception. Let me show you an example. So in this package, the exceptions package, I'm going to add a new class called account. Here we need a method …