The Exception class in Java

preview_player
Показать описание

Best Hindi Videos For Learning Programming:

►C Language Complete Course In Hindi -

►JavaScript Complete Course In Hindi -

►Django Complete Course In Hindi -

Follow Me On Social Media
Рекомендации по теме
Комментарии
Автор

To those who are confused that when and how was the object of the custom class created,
Just create an object the way you are used to (say),
MyException obj = new MyException();
and then use throw like, throw obj;
It will work exactly the same way as it did in the program.I don't think its a rocket science to know that both works the same way and really sad to see the comment section doubting him just due to this.:(
I mean come on, you are watching the 83rd video and still not clear about objects(how they are created) ??
Whenever you write something like say,
MyException obj = new MyException();
Then its the RHS that actually instantiates/create the objects The LHS is just used to give a name(obj) that will refer to the created object so that you can use it whenever required But computer mandatorily don't need a name to refer the object to It knows where it has created object So even though you don't assign any name to refer with, it doesn't mean no object is created.Just write the RHS and then and there an object is created.
Doesn't mean to offend anyone just saying that having reached 83rd video, if you are still.not clear about this, then surely the teacher should not be blamed.
Its as if you will question someone when he writes like:
MyException obj;
obj=new MyException();

Just because he taught you to write like:
MyException obj=new MyException();

You can even go back to sheer basics
Remember Class can be thought of as a data type with object as its variable(relatively) So just think, Don't:
int a = 5;return a;
OR
int a;a=5;return a;
OR
return 5;
mean the same thing??Here also its the same just think of "MyException" as "int" and "obj" as "a".

abhinash
Автор

Sir ek million ho jane ke baad please live aiega ....You are the best teacher ever....

sandipanmondal
Автор

i watched 4 times but not able to understand except this video, in all video you explained well

hemantraj
Автор

I want to tell everyone who don't understood this concept, don't panic just practice it. If you get any doubt like how this happened? then try it solve it, see how this happened? and this is how programming is learned it's not about learning all concepts try it catch it.😉

prasadsawant
Автор

Harry Bhai the best programming teacher ever...❤️🔥

puneetshakya
Автор

I hope this make sense.. thanks harry sir for the great videos

harshjha
Автор

Without watching I liked the video
Because you are the BEST TEACHER 😍😍😍 ON YOUTUBE

DriftDudes
Автор

badal fat gaya beech mai tab bhi harry bhai padha rahe hats off:)

newbee
Автор

Besides your amazing video lectures, that cloud cracking sound (0:27) made my day. Because it's raining now also😂

divyasingh
Автор

Just 2 requests:
1) C# Full tutorial
2) Mathematics for programming
Please

sarvottamlearning
Автор

Harry bhai please start ethical hacking cource because you are great teacher.

prayagpatel
Автор

Android development ke liye apka java in one video course kafi rhega

rajatmaurya
Автор

That badal fatna and class ko na rokna <3

rajat.sharma
Автор

It was a great help for me to understand the use of the throw keyword. Thank you.

sumitxx
Автор

plz @harry make videos on this topic My exams are coming up
GUI Components
graphics and Java 2D
Strings, Charactersand Regular Expressions
Files, Streams and Object Serialization
Recursion

S.Ateeb.A
Автор

Harry Baha'i C# unity scripting toturiols

fau-g
Автор

Upload all series for everyone .
Bhai ma pakistani hon but ek na ek din ma ap sy milny zaroor aayon ga.
Mera nam yad rakhna ma atleast 10 sal bad milon ga.
Love you bro jo kr rahy ho karty raho.
OR ye comment ma ap ki har video ma kron ga kisi ma tu reply aay ga na..

letsgetcopyright
Автор

The Exception class in Java
thanks for classe

attachwithme
Автор

please make a vedio on-
which mouse and keyboard are good . So an average man could afford.

kartoonall
Автор

Sir, please make a tutorial on a project in java

gulafshakhanam