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
@choudharyrajesh1238 жыл бұрын
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
@madhukumartechfortit25389 жыл бұрын
sir am a big fan of u... my ambition is i want to be a good java trainer like u.. please bless me
@lokeshrao81612 жыл бұрын
Good explanation 🙏
@NayanGohil9 жыл бұрын
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?
@love702009 жыл бұрын
because , for a hard coded class names, java doesnt want developers to handle it by any hook or crook and wants to treat it like an error from where situation cannot be handled. for a dynamic class name, since at the very begining, classnames were provided dynamically, allows for a situation where classnames are user fed, if users makes a mistake, java gives u an option to take an alternate course of action. hence the need for two
@amodmaroly83308 жыл бұрын
i have a doubt @durga sir so when database driver is loaded using Class.forName("oracle.jdbc.driver.OracleDriver"); at run time how can we say that prepared statement is precompiled
@digambarrathod8775 Жыл бұрын
Nice to learn with Durga Sir java but please provide notes for these java course
@DurgaSoftwareSolutions Жыл бұрын
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@Indian1947-o1z2 жыл бұрын
Thank you Sir
@madhusudhankamalapuram76083 жыл бұрын
Thanks sir..........
@VINAYKUMAR-nj9pl2 жыл бұрын
The name itself says it is an error( NoClassDefFoundError ) . But you are saying it as an Runtime exception! ?
@DurgaSoftwareSolutions2 жыл бұрын
Hello Vinay. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@imranmoosani7 жыл бұрын
but when we do Test t = new Test() - - if class file is not there, wont be get compile time error ? saying class not available ??
@asifkamranmalick53137 жыл бұрын
he meant .class file
@ap64715 жыл бұрын
Sir please also explain using codes too
@jonesalapat61999 жыл бұрын
ClassNotFoundException cannot be called as runtime exception since it does not extend runtime exception
@DurgaSoftwareSolutions9 жыл бұрын
Jones J alapat View 42 videos on Collections in Java, kzbin.info/www/bejne/qHqWh55_qahjm6M View 5 videos on JSF, kzbin.info/www/bejne/qHLEYqqtjLGqZ7s View 50 videos on Oracle, kzbin.info/www/bejne/pomYiH2ZqdNmgdk View 35 videos on Hibernate, kzbin.info/www/bejne/iYubkpWHaNugmsU View 115 videos on Data Structures, kzbin.info/www/bejne/pXKkmnWHe7h4n80 View 58 videos on Struts, kzbin.info/www/bejne/pIrUpKGofaymh8k View 74 videos on Spring, kzbin.info/www/bejne/j6HWd4drZdKnntU View 41 videos on CRT, kzbin.info/www/bejne/nHW1n36GrtuFZ5Y View 12 videos on JAVA Reflections API & Annotations kzbin.info/www/bejne/eKmmqGOrid2NiNU View 39 videos on Java Real Time Project Implementation on Spring,Struts & Hibernate, kzbin.info/www/bejne/n3zRk2N3nLCNgJI View other videos on ADV JAVA kzbin.info/www/bejne/bmTNfaSKdsekh7c
@DurgaSoftwareSolutions9 жыл бұрын
Durga Software Solutions View 9 videos on ENUM, kzbin.info/www/bejne/imLJfoqtfp53Z6c View 16 videos on Serialization, kzbin.info/www/bejne/mHrdl6Wsmdlqp68
@DurgaSoftwareSolutions9 жыл бұрын
Durga Software Solutions Hi, We are very Happy to say Our Expert Faculty Durga Sir's One-to-One Video Sessions on "Core Java with SCJP/OCJP" are available. Shooted from direct Class Room. YOu can access these videos from anywhere anytime. Around 200+ hours training, 178 Videos with clear explanation on every concept. 100% Satisfaction and Perfection in Subject guaranteed. For Demo Sessions Please call or drop a mail to us... DURGASOFT Online Training ph: 91-8885252627 mail :durgasoftonline@gmail.com, durgasoftonlinetraining@gmail.com Demo Sessions on youtube: 1. Language Fundamentals(16 Videos)kzbin.info/www/bejne/m4W7lWtvqZ2hnas 2. Operators & Assignments(7 Videos)kzbin.info/www/bejne/Z3uqgIOeft6bd68 3. Flow Control(6 Videos)kzbin.info/www/bejne/jmfVhGyseZ5gp68 durgasoft.com durgasoftonlinetraining.com facebook.com/durgasoftware durgajobs.com facebook.com/durgajobsinfo
@AkashJaiswalAkash77719 жыл бұрын
+Jones J alapat ClassNotFound is a Checked Exception.. But Suppose During Runtime the Class Specified by the use is Not Present at first Place..So At Runtime we get the ClassNotFoundException ..
@santoshkumarkar394 жыл бұрын
Type casting.......... I remember...
@sameerpatel34767 жыл бұрын
Same happened with me today :'( if I would have got this vdo before I might be selected in IBM today.
@jitsinghkhalsa12214 жыл бұрын
Okay from now onwards, if you face same question, kindly mention below point to interviewer.He/She would be very happy. ClassNotFoundException:- 1)It occurs when an application tries to load a class at run time which is not updated in the classpath. 2)It is thrown by the application itself. It is thrown by the methods like Class.forName(), loadClass() and findSystemClass(). 3)It is an exception. It is of type java.lang.Exception. NoClassDefFoundException 1)It occurs when java runtime system doesn’t find a class definition, which is present at compile time, but missing at run time. 2)It is thrown by the Java Runtime System. 3)It is an error. It is of type java.lang.Error