@javatechie .... 55:24 You have mentioned String is "Not thread Safe". String is Immutable & we can use it in multithreaded environment right .So my question is => Immutability doesn't Guarantee Thread Safety? Plz correct me if am wrong ....!! By the way you explained all the interview Questions very well.
It was an excellent presentation ..thanks for your effort ..can't wait to learn more from your upcoming videos on java,spring,hiberate,microservice. Please keep them coming.
I am just ready to support you other than just subscribing and liking the video. It would have been great if you had some full fledged udemy course or something like that.
47:59 if there are two objects then why hashcode of both the objects are same String str = new String("interview"); String str1 = "interview"; System.out.println(str.hashCode()); System.out.println(str.intern().hashCode()); System.out.println(str1.hashCode());
@@Javatechie hello sir, my doubt is not around intern method. my doubt is str == str1 is coming as false mean they both are pointing to different object. but when we check their hashcode then they are coming as same. so two object with the same hashcode is not possible and if both are pointing to same object as hashcode is same then == operator should have return true so its contradicting... their hashcode should be different as str is point to the object present inside heap and str1 is pointing to the object present in SCP. both are in the heap but they are two different objects String str = new String("interview"); String str1 = "interview"; System.out.println(str == str1); //false System.out.println(str1.hashCode()); System.out.println(str.hashCode()); o/p:- false 503107969 503107969
in 43:49...to system.exit(0) statement got excuted & program terminated ,means finally block is excuted,we cant skip finally. if you write simple sop statment before system.exit() in finally it prints.
Coming this weekend preparing PPT is taking too much time buddy . Every day giving 2 hours to prepare PPT that's why it's taking time . Keep in touch ☺️
Basant. Your videos and way of explaining to the concept are too good and I really learned a lot from many videos posted on your channel. Keep Posting, will support you for sure
Thank you for this great content. It would be great help if you can make the similar video for spring and microservices interview questions. Thank you.
Thanks buddy . It required more time to prepare PPT that's the reason I am not able to give time for this . definitely I will try to upload one end of this year
Thanks a lot for creating such nice content , i have spent my weekend watching your videos which is really knowlegeable and engaging , i can binge watch it every weekend now 🤩
Hi Basant, Trust me you have the best teaching skills and its super easy to learn and understand with your presentation, I just subscribed your channel felt sorry for not checking this channel till now. Thanks for your efforts. Hope you will make more interview questions.
I am following your videos, you are doing an incredible job, thanks for the generosity and the free knowledge!! Your channel has become my goto for interview preps.
To make a class immutable, we have to clone the object before assigning it to our instance variable. Even if you return a clone or new variable when getting the instance variable, they will still have access to the list that was passed at the time of object creation. If any changes are made to that list, it will alter the content of our object. Therefore, to maintain immutability, we need to ensure that the object's internal state is not directly accessible or modifiable. Making a deep copy of the mutable objects during construction or assignment is a common approach to achieving this goal. Please correct me if I am wrong
Thanks of the great content with use cases. I have seen many videos but the missing part in those videos is real project use cases. Can you please also make video on how to explain project, project architecture and how to explain non-functional requirement like security, scalability on project.
Hi Sir, just a bit more elaboration on the Inherited exception handling, IF the parent method doesn't throws any exception then child can thorw only runtime exception not compile time exception. If the parent method throws broader exception like "Exception" then child can thow any kind of ecxeption, or it is not necessary to throw any exception
I'm so happy after watching your video because personally it saves at least one week time who is preparing for interviews, easily catching up with❤ the questions and answers ❤❤❤❤❤
Again i want to say - it's great 👍 Thank you so much - I hope many people are getting Jobs after watching your videos I request to other guys also please add some beautiful comments if it's really worth for you Again Thanks ❤️
If method throws RuntimeException then caller method no need to catch or throws furrther, in your example as you are extedended Exception class that why we have catch or throws further, instead if we extend RuntimeException then its not needed to catch or throws
Hi Basant, I think compile time exceptions are named so because they occur at compile time. The process for running a program occurs first by changing source code to machine readable code in compiler. During this time the error occurs. Hence its called compile time exception.
I guess, All exceptions OCCUR only at runtime. But in case of Checked exceptions, because compiler can identify possibility of exception at particular line of code, it forces us to handle it. That's why it shows error during compilation. That doesn't mean exception has OCCURED. Exception will occur only at runtime.
With the amount of JAVA knowledge you have, you can invent your own language brother. Stay blessed for sharing great information for free.
really useful content. i have no words to describe the way you clear all my doubts.
Thank you for this useful content!!! It would be really helpful for those who wants to brush up the Java skills.
Hi Basant,
Thanks for compilation and explanation with practical examples.
Minor correction At 55:42
String would be thread safe as well.
Yes buddy it's my mistake 🤠 i realise later
This is by far the most detailed interview Q&A series thankyou sir! for this gold content!!
Very nice concept and helpful for interview, wating for next video,thanks basnat for sharing such a good content.
Your video and way of explain to the concept are good ..
@javatechie .... 55:24 You have mentioned String is "Not thread Safe". String is Immutable & we can use it in multithreaded environment right .So my question is => Immutability doesn't Guarantee Thread Safety? Plz correct me if am wrong ....!! By the way you explained all the interview Questions very well.
Yes correct immutable doesn't guarantee thread safety
Till date best video with clear answers of all questions keep it up man thanks
It was an excellent presentation ..thanks for your effort ..can't wait to learn more from your upcoming videos on java,spring,hiberate,microservice. Please keep them coming.
I am just ready to support you other than just subscribing and liking the video. It would have been great if you had some full fledged udemy course or something like that.
Udemy I didn't planned yet but will try
Thank you so much for explaining all the concepts in a neat and clean manner.
Tanks Basant!! I like your teaching and please make more java tricky interview Q&A video.
Have never seen this kind of explanation. Thanks a lot sir
Thank You Basant for this video. This is so much much helpful.
Amazing Expanantion... please keep posting such informative videos...
47:59 if there are two objects then why hashcode of both the objects are same
String str = new String("interview");
String str1 = "interview";
System.out.println(str.hashCode());
System.out.println(str.intern().hashCode());
System.out.println(str1.hashCode());
Do you know about intern() method?
@@Javatechie hello sir, my doubt is not around intern method. my doubt is
str == str1 is coming as false mean they both are pointing to different object. but when we check their hashcode then they are coming as same. so two object with the same hashcode is not possible and if both are pointing to same object as hashcode is same then == operator should have return true so its contradicting... their hashcode should be different as str is point to the object present inside heap and str1 is pointing to the object present in SCP. both are in the heap but they are two different objects
String str = new String("interview");
String str1 = "interview";
System.out.println(str == str1); //false
System.out.println(str1.hashCode());
System.out.println(str.hashCode());
o/p:-
false
503107969
503107969
@@Javatechie please reply sir
Buddy since string it self a class so hashcode and equals method will call from object class
Amazing content sir, Questions with examples 🤩, Thanks much
Thank you for this video... Subscribed and forwarded this video to my friends. Waiting for upcoming interview series.
Thanks basant I m waiting for transaction handling as well either series are one complete video thnx for all your video lot a learn
Transaction isolation propagation pending it's bit difficult for me to convert theory to program but I will try once I get time
Great Explaination in details each topics.
Thanks 🙏🙏
in 43:49...to system.exit(0) statement got excuted & program terminated ,means finally block is excuted,we cant skip finally. if you write simple sop statment before system.exit() in finally it prints.
Write it in try and catch block then
learned many new things
Your channel is my first preference for all java related,
wish you more and more success Basant
Thank you so much for following javatechie and so happy to hear it’s your first preference
Thank you for the detailed explanation with examples 👍
For compiler error, you say it will cry. That sounds funny 😆
😂😂
Really it was helpful for me in understanding the String immutable. Great. Good Job buddy
Thank You for this video.great help for my future interview .
Very practical explanations Basant. Keep up the good work. Would love to see FAQ's on Collection Framework as well!
Coming this weekend preparing PPT is taking too much time buddy . Every day giving 2 hours to prepare PPT that's why it's taking time . Keep in touch ☺️
@@Javatechie thanks a lot
Thanks alot Basant for this, This clears a lot of topics. Eagerly waiting for Part 2.
Thanks Bro for your awesome video.
Eagerly waiting for next videos on this topic.
Your SpringBoot and MicroServices videos are amazing.
Thanks buddy 😊
Very Very practical explanations! Thank you sir
Very Helpful please add more questions and videos..
Basant. Your videos and way of explaining to the concept are too good and I really learned a lot from many videos posted on your channel. Keep Posting, will support you for sure
Thanks Dinesh
Good to for next video for interview questions
This is the best content Basand. Thanks alot for this.
It's Basant buddy
Thank you for this great content. It would be great help if you can make the similar video for spring and microservices interview questions. Thank you.
Yes I will do that
Thank you so much Basant for this amazing session. Waiting for next part
Very helpful, pls continue this question and ans series.thank you
Ur.. effort is valuable....keep posting other topics like spring boot, microservice, hibernate, cloud technology
Thanks buddy . It required more time to prepare PPT that's the reason I am not able to give time for this . definitely I will try to upload one end of this year
@@Javatechie Thanks ..Keep posting
I like the way you describe all things. Easily cachable.
Thanks basant. Your all videos extremely good and neat explanation. please don't stop uploading new concept videos...
Great.. Covered lot of imp questions with clear clarity👍👍👍
This was awesome👏✊👍 Please make more videos like this. Thank you
Thank you sir and way of explain to the concept are good ..
it's the best session I ever watched about core Java, Lots to learn, Thanks for sharing all this knowledge and helping others, it's not easy
Please checkout part 2 videos
@@Javatechie i will checkout all of them
Thanks Basant , You save us from crying in interview :)
😀😂 exactly ..👍
😂
Thanks Basant! this was good quick refresh off those concepts
Thanks a lot, you made this look so simple which good example
Your channel is like our paid learning institute ...
Infact more than that ☺️
Thanks Basant sir for sharing such an amazing knowledge to us...🙏
Thanks buddy keep learning 😃
Thanks a lot for creating such nice content , i have spent my weekend watching your videos which is really knowlegeable and engaging , i can binge watch it every weekend now 🤩
I love the way of your explanation.... 🙏
It's really good content please add more interviews questions about collections and spring
Yes I will
Please upload interview questions for all topics like spring boot, Spring, Webservices, core java and collections
Oh, I loved the term it will cry.. haha. Especially on the throwing part from parent to child vice versa. :D
Thanks Basant bhai for the amazing videos..
Hi Basant, its a nice video and useful. Please do more videos on Spring Boot, Rest API and Spring Security concepts.
Thanks Basant ! Great content, eagerly waiting for the next series on this.
Hi Basant, Trust me you have the best teaching skills and its super easy to learn and understand with your presentation, I just subscribed your channel felt sorry for not checking this channel till now. Thanks for your efforts. Hope you will make more interview questions.
Thank you so much buddy for appreciating it 🙂. Keep learning 👍
I am following your videos, you are doing an incredible job, thanks for the generosity and the free knowledge!! Your channel has become my goto for interview preps.
Thanks buddy 😊. Keep learning 😃
Very useful video sir.. expects more video like this for interview preparation. thanks alot.
Will cover
Please cover threading with executor services and then jump on to Spring boot and hibernate
Thankyou sir .. ❤️❤️ these kind of explanation are always beneficial
To make a class immutable, we have to clone the object before assigning it to our instance variable. Even if you return a clone or new variable when getting the instance variable, they will still have access to the list that was passed at the time of object creation. If any changes are made to that list, it will alter the content of our object. Therefore, to maintain immutability, we need to ensure that the object's internal state is not directly accessible or modifiable. Making a deep copy of the mutable objects during construction or assignment is a common approach to achieving this goal.
Please correct me if I am wrong
You are correct 🤞
Thanks Basant, very helpful with actual examples.
Thanks Basant video is really helpful 🤙🔥
Thank you sir, very informative video 👏👏
Thankyou so much. Awesome explanations. Really helpful..
Really usefull content. Thank you so much.
Good session ...very useful
Thanks for this great video!!
Very good explanation with content 👍
wow sir its very helpful to us sir thank you sir
Thanks .. Your all videos are really helpful .
best video for clearing interview
Good content. Please upload Multithreading and Collections interview questions too.
Yes i will
Great stuff. Thanks man!
Thanks of the great content with use cases. I have seen many videos but the missing part in those videos is real project use cases. Can you please also make video on how to explain project, project architecture and how to explain non-functional requirement like security, scalability on project.
Thank you Basant. The way of explaining concept is really good.
Thanks alot.Its very usefull session
Thank you so much ❤ please provide video for how to explain project
Hi Sir,
just a bit more elaboration on the Inherited exception handling,
IF the parent method doesn't throws any exception then child can thorw only runtime exception not compile time exception.
If the parent method throws broader exception like "Exception" then child can thow any kind of ecxeption, or it is not necessary to throw any exception
Thank you for this great content
I'm so happy after watching your video because personally it saves at least one week time who is preparing for interviews, easily catching up with❤ the questions and answers ❤❤❤❤❤
Basant its really good content please try to do more.
Nice content Basant. Thanks
Great content please add more sir
Best ...to the topic...❤
Great and Proper Explanation ❤️
Again i want to say - it's great 👍 Thank you so much - I hope many people are getting Jobs after watching your videos
I request to other guys also please add some beautiful comments if it's really worth for you
Again Thanks ❤️
Great session ,Thanks
Nice! do video on Multithreading and executor service bro
Yes will do in sequence
If method throws RuntimeException then caller method no need to catch or throws furrther, in your example as you are extedended Exception class that why we have catch or throws further, instead if we extend RuntimeException then its not needed to catch or throws
Yes
Really it is very much helpful, Can you please create a video experienced interview questions for multithreading ?
Hi Basant, I think compile time exceptions are named so because they occur at compile time. The process for running a program occurs first by changing source code to machine readable code in compiler. During this time the error occurs.
Hence its called compile time exception.
No that time it warn us not throws any error
I guess, All exceptions OCCUR only at runtime. But in case of Checked exceptions, because compiler can identify possibility of exception at particular line of code, it forces us to handle it. That's why it shows error during compilation. That doesn't mean exception has OCCURED. Exception will occur only at runtime.
@@KateShubham exactly correct
Thank you so much...very helpful
it is very helpful do same as on springboot and microservices
PART 2 please, this one was realllly good.
Part 2 is here ruclips.net/video/GO67C7V-IbQ/видео.html
Thanks for sharing this.. can you please make part 2 with all advance java related asap..
Yes I will
RUclips suggested me this video.
I must say that it is great explanation
I have learnt alot.
waiting for your next video on this series.
SUBSCRIBED :)
Thanks buddy keep in touch with javatechie each topic interview QA coming soon
Man simply awesome
Excellent 👍
Thank you, video is to the point! Interview questions on other technologies will be definitely helpful including relational database queries.
Thanks but we want more situation based coding interview questions for 6 years experience