This is what I’m looking for, no one explains simple code base examples for interview preparation. But this video has amazed me with live interview questions nd in a simple practical examples as well. Please keep posting videos on all other related latest technologies as well. Especially latest Python modules as Python is going to rock the world with a lot of upcoming libraries.
ClassNotFoundException is a checked exception and occurs when the Java Virtual Machine (JVM) tries to load a particular class and the specified class cannot be found in the classpath.
Checked exceptions are checked at compile time by compiler Shankar. If u have watched the video, can u see any compile time error there!??. Please don't follow blogs blindly man. Please help us if we are wrong but as far as we know, it's runtime.
And Jvm comes into picture during runtime and javac is used during compile time 🙂. There is some misunderstanding I believe because u only said Jvm comes into picture in this type of error and jvm comes into picture during runtime n not compile time. Hence u only proved its runtime exception. But nice doubt, it will help people getting their doubts cleared. Thanks 👍👍
@@CodeDecode Java docs is saying ClassNotFoundException is checked because it is child class of Exception class. Any child class of RuntimeException is unchecked. Hope now it is clear. docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html
I never want to teach you but I found some mistake thus informed you. You are doing very great job by helping us with this set of questions. Hope you will not take my suggestion in other way 👍👍👍
Hi dear. Your videos are very helpful. I shared you videos to my friends. I am experienced in java. But refreshing java theory concepts by your videos. Now am looking for job change and I cleared several technical rounds.
@CodeDecode Amazing explanation Ma'am , would like to see more on streams coding questions also on sql query questions please , This is a great platform to refresh java!!
Thank you code decode for these videos.. Would like to see more on Multithreading and synchronization, also sql related interview questions. Thanks again :)
Great, always there is something new to learn in your videos....! And please prepare video on executor service breaking Singleton. @Code Decode. Also would like to highlight as @shankar did that class not found is compile time because compiler forces us to handle that exception. It’s not like any other nullpointer exception which our compiler doesn’t, force to handle. That’s the key I think, but as you said we have to decide by seeing that whether compiler is checking DRIVER class or not, then I think no exception can be called as compile time exception. PLEASE CORRECT ME IF MY UNDERSTANDING IS WRONG.
Very clear explanation. Nowadays I became an addict of your videos, it really helping to brush up old things and learn so many new things. Can you please do more videos on Java 8 stream programs.
Excellent video. Yes, few more java 8 scenario based questions, also scenario based for core java concepts - like abstract class, interface etc.. also we are asked how to create hashing on our own and something similar to strings as well?
You can use any class as a hashmap key. Primitives of course are not a class. Key just needs to implement equals and hashmap, even if it's in a bad or illogical way.
Thanks for sharing knowledge. Could you please make more videos on collections program. one of interviewer asked me, fetch the employees who located at Mumbai city. please explain this one. if possible.
We can use minus (-) in front of compareTo employeeList.stream().map(Employee::getSalary).sorted((e1,e2)->-e1.compareTo(e2)).collect(Collectors.toList()); and if we want the list in Ascending order with unique element use TreeSet while collecting. ie collect(Collection.toCollection(TreeSet::new));
No worries, don't be disheartened. Its a part of professional journey. We all have faced rejections and then what we get is the best. All the best man. You deserve much more 👍👍
Spring create singleton object per ApplicationContext. If you have more than one ApplicationContext in your project Spring will create more than one object. In contrast Java Singleton object is created per JVM.
Hi very helpful video. Thanks for creating for us. Recently, I faced interview. Interviewer asked get the 2nd highest salary of employee using streams. Please let me know
In Java 8 example, can we use first map with salary and then Comparator.reverseorder() method directly instead of expression ? Btw thanks for the video :)
map() will give you list of salary and you'll be sorting that.. We need the list of Employee and not list of Employee's salary. I hope it is making sense.
Something is fishy in the example of NoClassDefFoundException When you remove the .class file nd execute ur class it still shows, ClassNotFoundException
Nicely and perfectly crafted library thanks for sharing, I would suggest updating this library with new latest questions or I would like to share some new question bank as I have over 100+ new questions relevant to these recent year share me your email id to sent your way!!!
Would love to see a detailed video on different ways of breaking singleton pattern. Please make a video on it.
It would be helpful for many people
Sure Sanketh, we will create that soon 👍👍
ruclips.net/video/P4losX0HxwE/видео.html
@@CodeDecode is this video created, if yes please share video link
This is what I’m looking for, no one explains simple code base examples for interview preparation. But this video has amazed me with live interview questions nd in a simple practical examples as well. Please keep posting videos on all other related latest technologies as well. Especially latest Python modules as Python is going to rock the world with a lot of upcoming libraries.
ClassNotFoundException is a checked exception and occurs when the Java Virtual Machine (JVM) tries to load a particular class and the specified class cannot be found in the classpath.
Checked exceptions are checked at compile time by compiler Shankar. If u have watched the video, can u see any compile time error there!??. Please don't follow blogs blindly man. Please help us if we are wrong but as far as we know, it's runtime.
And Jvm comes into picture during runtime and javac is used during compile time 🙂. There is some misunderstanding I believe because u only said Jvm comes into picture in this type of error and jvm comes into picture during runtime n not compile time. Hence u only proved its runtime exception. But nice doubt, it will help people getting their doubts cleared. Thanks 👍👍
@@CodeDecode
Java docs is saying ClassNotFoundException is checked because it is child class of Exception class.
Any child class of RuntimeException is unchecked.
Hope now it is clear.
docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html
@@CodeDecode At runtime only JVM will check exception of any type.
Correct me if wrong
I never want to teach you but I found some mistake thus informed you.
You are doing very great job by helping us with this set of questions.
Hope you will not take my suggestion in other way 👍👍👍
Hi dear. Your videos are very helpful. I shared you videos to my friends. I am experienced in java. But refreshing java theory concepts by your videos. Now am looking for job change and I cleared several technical rounds.
That is such a great news that you have cleared many interviews Congratulations man ! Keep learning keep growing :-)
@CodeDecode Amazing explanation Ma'am , would like to see more on streams coding questions also on sql query questions please , This is a great platform to refresh java!!
Sure 😊👍 thanks
Thank you code decode for these videos.. Would like to see more on Multithreading and synchronization, also sql related interview questions. Thanks again :)
Sure Vijaya we will plan it and upload it soon...
@@CodeDecode thanks a lot
👍👍
Great, always there is something new to learn in your videos....! And please prepare video on executor service breaking Singleton. @Code Decode. Also would like to highlight as @shankar did that class not found is compile time because compiler forces us to handle that exception. It’s not like any other nullpointer exception which our compiler doesn’t, force to handle. That’s the key I think, but as you said we have to decide by seeing that whether compiler is checking DRIVER class or not, then I think no exception can be called as compile time exception. PLEASE CORRECT ME IF MY UNDERSTANDING IS WRONG.
Mam, you are doing a great job.. it's helping a lot to quickly prepare for interviews..
Thanks for the nice words Aniket
Very clear explanation. Nowadays I became an addict of your videos, it really helping to brush up old things and learn so many new things. Can you please do more videos on Java 8 stream programs.
Thanks Shamil. Sure we will upload more videos on practical implementation of java 8 features🙂👍
Excellent video. Yes, few more java 8 scenario based questions, also scenario based for core java concepts - like abstract class, interface etc.. also we are asked how to create hashing on our own and something similar to strings as well?
Nice topics Karthikeyan 👍 we will surely create video on these
You can use any class as a hashmap key. Primitives of course are not a class. Key just needs to implement equals and hashmap, even if it's in a bad or illogical way.
more questions on streams like groupby functions . Thanks ,
Sure Prashant 👍👍
Nicely explained.
We need more videos like this to crack the interview.
sure Avinash we will upload it soon....
Nicely explained. Ofcourse, we need more detailed interview trending questions.
Sure we will upload it soon...
Very clearly explained. Please add more such scenario based videos.
Sure Shubhi 🙂🙂👍👍
I need more interview questions on Java 8 such as flat map,map,optional etc
ruclips.net/p/PLyHJZXNdCXsdeusn4OM33415DCMQ6sUKy
Excellent explanation.. Keep going..
Thanks Sreerekha
Great video. The password question was mind boggling. How about a real time example of accessing the memory dump and fetching the sensitive data.
Thanks Gautam. We will try to make video on it....
@@CodeDecodestill I have confusion in noclassdef
Please provide the java code for breaking Singleton patter. Will be really helpful
Sure 🙂👍 we will create that soon 👍👍
Use reflection
Hi! thank you for this video and pl.make more such videos
sure gokul we will make it soon......
All your videos are amazing !
Thanks
Nice explanation. Please make a video on all the remaining operations like forEach, reverse etc.
Sure Greeshma .... we will create one soon
as always , excellent work by code decode.
good explanation.
Thanks Shashi 🙏. This means a lot 🙏
Very well explained that classnotfoundexception and noclassdeferror
Thanks ......
Thanks for sharing knowledge. Could you please make more videos on collections program. one of interviewer asked me, fetch the employees who located at Mumbai city. please explain this one. if possible.
Sure Sai. We will cover it 🙂👍
Please make a video on spring security and API gateway . Also, I am up for ways of making singleton design pattern more detailed in video.
Sure 👍👍
Please add more question on java 8 stream programing that mainly asked during interviews.....
Sure Ritesh 👍👍🙂🙂
Could you please create more and more videos...all possible questions of Java8
Sure Venkata 👍👍
Excellent explanation. Appreciated your efforts
Thanks Tulasi....
We can use minus (-) in front of compareTo
employeeList.stream().map(Employee::getSalary).sorted((e1,e2)->-e1.compareTo(e2)).collect(Collectors.toList());
and if we want the list in Ascending order with unique element use TreeSet while collecting. ie collect(Collection.toCollection(TreeSet::new));
Pls share all the interview questions and answers in notes..it will helpful to others
Sure 👍
Very useful
thank you so much
Thanks Ram
Nice questions, should add interveiw questions more frequently, very helpful. 👍🏼
sure Saurabh we will do that ......
Should also add videos on Data structure, must do interview questions.
Looking forward to it.
I would like to know more about Java 8 interview questions ,it will be nice if u cover them
Sure sweeti we will cover it soon
nice expiation I faced all these questions in my interviews
Yeah, we too once upon a time. Hence we decided to cover it 👍👍
Yes, today I stucked in my interview 😭😭
No worries, don't be disheartened. Its a part of professional journey. We all have faced rejections and then what we get is the best. All the best man. You deserve much more 👍👍
@@archfitness2399 don't worry dear. Interview is also an experience. After few interviews we will be confident to answer the questions.
Nice tutorial, consider using the eclipse vim plugin.
Thanks Sure 👍
Thank you Madam! can you please create a video on each topic reflection, serialization and cloning breaking the sinlgeton design pattern as well
Sure Suresh 👍👍
if we are making instance as private in singleton class how can we access that in main class to change it's reference?
Please provide the complete demonstration of how to break singleton design pattern with code it will be helpful.
sure Sushma we will provide one soon
And also cover more interview questions based on streams(java8).
Hi mam, can you please provide demo of breaking singleton pattern in java
I was asked what is the difference between singleton design pattern of java and that of spring?
Spring create singleton object per ApplicationContext. If you have more than one ApplicationContext in your project Spring will create more than one object. In contrast Java Singleton object is created per JVM.
Please make a vedio on how to break single ton using executor
sure rajylakhsmi we will plan and upload it soon.
Hi very helpful video. Thanks for creating for us. Recently, I faced interview. Interviewer asked get the 2nd highest salary of employee using streams. Please let me know
Sure 👍👍
We need more of these and demo too
sure sreeja we will upload it soon....
Please include More Java 8 coding questions like this
Sure Priyanka. Thanks for writing back 👍👍
In Java 8 example, can we use first map with salary and then Comparator.reverseorder() method directly instead of expression ?
Btw thanks for the video :)
Yes Saurabh we can do that. There ae multiple ways to do that👍👍
map() will give you list of salary and you'll be sorting that.. We need the list of Employee and not list of Employee's salary. I hope it is making sense.
Can you make video on Executor Service . Thanks in Advance
Thanks
🙂🙂👍
Good Info.
Thanks
Please do make more vedios on Java 8 coding questions
Sure we will create more videos soon
Java 8 interview questions with map and flatmap and intermediate streams and parallel streams
sure Yamini we will upload it soon...
Something is fishy in the example of NoClassDefFoundException
When you remove the .class file nd execute ur class it still shows, ClassNotFoundException
Please upload video on java stream api example for all the methods
Sure Akshay, will do that 👍
Hi it's was very nice
where we can find your code .
please share me the link java 8 program interview part questions
Every thing about java 8 is here
ruclips.net/p/PLyHJZXNdCXsdeusn4OM33415DCMQ6sUKy
sir, does selectorshub certification helps in interview and what are the selectorshub interview questions?
Clear create the demo session for break singleton pattern
sure we will create it soon
@@CodeDecode thanks for your reply
In what scenario we will use singleton? What’s the use of it ?
🔥awesome one 😊
Thanks Raj.......
Can please make a video on junit testcases
sure we will plan and make video on that
Thanks mam
👍👍🙂🙂
Want every interview questions related to java 8
sure Shyam we will upload it soon....
Tq
Not able view code clearly.please zoom in more
Thanks for the observation 👍👍🙂🙂. We did it in next video
🙂👍
Please
Nicely and perfectly crafted library thanks for sharing, I would suggest updating this library with new latest questions or I would like to share some new question bank as I have over 100+ new questions relevant to these recent year share me your email id to sent your way!!!