Difference between ClassNotFoundException and NoClassDefFoundError

preview_player
Показать описание
DURGASOFT is INDIA's No.1 Software Training Center offers
online training on various technologies like JAVA, .NET ,
ANDROID,HADOOP,TESTING TOOLS , ADF, INFORMATICA, SAP...
courses from Hyderabad & Bangalore -India with Real Time Experts.
so that our Supporting Team will arrange Demo Sessions.
Ph:Call +91-8885252627,+91-7207212428,+91-7207212427,+91-8096969696.
Рекомендации по теме
Комментарии
Автор

i dont know really ekalavya story was really there r not in history.., but u have thousands of ekalavyas here sir.., no of my frnds learning by sitting in hostels.., verry glad to share here@@ this is good programming practiece sir

rajeshthokala
Автор

i have a doubt @durga sir so when database driver is loaded using at run time how can we say that prepared statement is precompiled

amodmaroly
Автор

I think we can get the NoClassDefFoundError even in case of dynamic loading. Suppose you try to load class A dynamically which contains an inner class B and at run time Class A .class is present but class B .class is not there then you will get NoClassDefFoundError error. Correct me if i am wrong

choudharyrajesh
Автор

sir am a big fan of u... my ambition is i want to be a good java trainer like u.. please bless me

madhukumartechfortit
Автор

Hi, I understood the difference between these two. But my concern is, if both the things are same (i.e. could not find class at runtime), why the need of having two different exceptions? I mean what happens inside the JVM?

NayanGohil
Автор

Sir please also explain using codes too

ap
Автор

but when we do Test t = new Test() - - if class file is not there, wont be get compile time error ? saying class not available ??

imranmoosani
Автор

Nice to learn with Durga Sir java but please provide notes for these java course

digambarrathod
Автор

The name itself says it is an error( NoClassDefFoundError ) . But you are saying it as an Runtime
exception! ?

VINAYKUMAR-njpl
Автор

ClassNotFoundException cannot be called as runtime exception since it does not extend runtime exception

jonesalapat
Автор

Same happened with me today :'( if I would have got this vdo before I might be selected in IBM today.

sameerpatel