#80 Exception throw keyword in Java

  Рет қаралды 131,921

Telusko

Telusko

Күн бұрын

Пікірлер: 25
@SP-vq7tg
@SP-vq7tg 7 ай бұрын
Something different from your tutorials compared to others is, it is very engaging. Never feels bored even for a second. Thankyou so much Navin!!
@lukegleeson3970
@lukegleeson3970 4 ай бұрын
feel like im on ther home run of this tutorial. not quite done yet but thank you so much for this content. its crazy that in this world you can learn to code without even player a doller.... thanks telusko. you're a legend.
@sowmyaks8386
@sowmyaks8386 Жыл бұрын
Thankyou for the explanation sir. Following your java lectures.... enjoying it♥️🙂🙂♥️
@vishwajithbarad
@vishwajithbarad Ай бұрын
at 4:02 the exception is caused by the 9th line and the throw exception command will not execute since it will directly jump to catch with the same ArithmeticException. instead you could have move lines 10 and 11 to 9 and 9 to 11. but you have cleared the concept.
@udara-me
@udara-me 5 ай бұрын
The best java course ever😍
@praneshnanoskar6353
@praneshnanoskar6353 Жыл бұрын
Superb explanation 👍
@workoutsidhu
@workoutsidhu 11 ай бұрын
Sir Your video is very help full. Thank You
@sukanyaswaminathan9130
@sukanyaswaminathan9130 7 ай бұрын
hello sir, on executing line 9 itself, error occurs and the execution enters the catch block rite ? Line number 10 won't be executed at all and hence the 'throw' code. Am i getting it rite ?
@shindeprem228
@shindeprem228 5 ай бұрын
Yes you are right
@allabout90minutes9
@allabout90minutes9 Жыл бұрын
Amazing explanation
@sethupathys641
@sethupathys641 Жыл бұрын
Hey, what does the throws keyword do?
@crofux
@crofux 5 ай бұрын
Throws keyword indicates that there might be error in this block of code
@Jonggungoo
@Jonggungoo Жыл бұрын
aren't u from telangana sir!
@bengaming99
@bengaming99 11 ай бұрын
That’s why the channel name is telusko which means (learn) in Telugu
@MudrikaAgrawal-kx6zk
@MudrikaAgrawal-kx6zk 5 ай бұрын
I have one doubt, how ArithmeticException object becomes constructor?
@shindeprem228
@shindeprem228 5 ай бұрын
Every time we create object using new className() the constructor of that class is invoked depending on parameters we pass, he meant that
@maleeshasandakalum6213
@maleeshasandakalum6213 Жыл бұрын
Thank you sir❤❤
@oshadhaedirisinghe1455
@oshadhaedirisinghe1455 11 ай бұрын
Thank you
@jawad_karim
@jawad_karim 11 ай бұрын
amazing !
@tahaalshimy8255
@tahaalshimy8255 Жыл бұрын
God bless you
@syedadil7256
@syedadil7256 Жыл бұрын
There is an error in the if part it is if(i==0) but u placed if(j==0). As the denominator should be checked that is i
@ananysharma9290
@ananysharma9290 Жыл бұрын
Nope buddy, If you'll re-watch the video, he explained that he doesn't want the value of J to be zero( which comes as an output when 18 is divided by 20). Since the above division operation is not an exception, catch block is not called, that's why we are using the keyword "Throw" to make this operation an exception and catched by catch block. The code in the video is totally correct 🙂
@syedadil7256
@syedadil7256 Жыл бұрын
@@ananysharma9290 ok dude tqs
@marioponticiello297
@marioponticiello297 Жыл бұрын
don pollo
#81 Custom Exception in Java
3:30
Telusko
Рет қаралды 121 М.
#82 Ducking Exception using throws in Java
9:55
Telusko
Рет қаралды 86 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
#95 Comparator vs Comparable in Java
15:43
Telusko
Рет қаралды 215 М.
#51 This and Super Method in Java
12:11
Telusko
Рет қаралды 134 М.
#83 User Input using BufferedReader and Scanner in Java
11:48
Exception handling in C++ (How to handle errors in your program?)
24:46
#86 Multiple Threads in Java
11:30
Telusko
Рет қаралды 153 М.
Throw And Throws In Java Tutorial #48
9:49
Alex Lee
Рет қаралды 41 М.
#77 Exception Handling Using try catch in Java
6:01
Telusko
Рет қаралды 122 М.
Laravel: Avoid Try-Catch In Every Method (What To Do Instead)
4:45
Laravel Daily
Рет қаралды 35 М.
#42 This keyword in Java
9:45
Telusko
Рет қаралды 166 М.
#78 Try with Multiple Catch in Java
10:20
Telusko
Рет қаралды 91 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН