I had faced this question in one of my interviews. Thanks for bringing this up.
@CodeDecode
2 жыл бұрын
🙂 yeah its one of the imp concept of java. Its usually asked to check clarity on multiple topics of java like volatile, multithreading etc
@user-od8cv2wo7u
Жыл бұрын
actually now only I understand the double-checked locking of the singleton class, the way you explained the thread's behavior is Awesome. (except the last part cache). Thanks a ton for this great lecture. 🙂🙂🙂
@CodeDecode
Жыл бұрын
Thanks 😊👍
@gyanprakash302
2 жыл бұрын
Because of you guys I have become so much confident in Java ! I was good at dsa but you guys helped me a lot while cracking interviews of Accenture, Infosys, global logic and 7 others. Can't thank you enough
@CodeDecode
2 жыл бұрын
Many congratulations Gyan 🎉🎉👏👏well deserved 👍👍🙂🙂keep learning keep shining Man ⭐✨⭐✨
@shankardayal6928
2 жыл бұрын
Please help me so that I can master DSA
@gyanprakash302
2 жыл бұрын
@@shankardayal6928 Keep practicing from gfg and leetcode bro
@sproutboot
Жыл бұрын
9:30 your explanation always perfect. so easy to understand Thanks
@CodeDecode
Жыл бұрын
Thanks a lot lee 🙂🙂
@akashsaha9366
2 жыл бұрын
Awesome topic and explanation. Teach us more deep in this type of topics!!
@CodeDecode
2 жыл бұрын
Thanks akash 🙂👍sure 👍👍
@nutankumari9977
2 жыл бұрын
Nicely explained 👏..ur springboot. Questions were the ones asked in one my interview..thanks for creating n explaining the same
@CodeDecode
2 жыл бұрын
Thanks nutan for the nice words
@manosij00roy
2 жыл бұрын
Cannot wait for the second part!! 😊😊😊😊 You're awesome
@CodeDecode
2 жыл бұрын
sure we will create it soon
@rekham4583
2 жыл бұрын
Great Explanation!!! Thanks a lot. Keep creating more such videos.
@CodeDecode
2 жыл бұрын
Thanks rekha for the nice words
@ganpatinatrajan5890
Жыл бұрын
Excellent Explanations...👍👍👍
@CodeDecode
Жыл бұрын
Thanks Ganpati 😊👍
@asifkamal166
9 ай бұрын
As far as i know if a code block is synchronized then only one thread can access it even if there are multiple thread running. Once a thread leaves that block only then other thread can access that block. If i am not wrong then is contradicts the volatile part of the video. Please correct me if i am wrong. Also thanks a lot for your videos.
@harikrishnab4930
2 жыл бұрын
Good explanation. Thank you.
@CodeDecode
2 жыл бұрын
you're welcome
@pratikkurbet3437
2 жыл бұрын
Thanks mam for such informative videos 🙏🙏🙏 Please do video on spring profile concept in depth.
@CodeDecode
2 жыл бұрын
Sure Pratik 🙂👍
@lohir446
2 жыл бұрын
Thank u for such a informative video 💯💯
@CodeDecode
2 жыл бұрын
Thanks 🙂👍
@amarthyaseshu683
2 жыл бұрын
Great explanation 🤠
@CodeDecode
2 жыл бұрын
Thanks Amarthya
@prathyushamovva5718
9 ай бұрын
Hi Thanks for video could you please let me know in which Scenario we will use singleton design pattern
@RockMB
2 жыл бұрын
Mam can you please make video on loggers and logging levels. Also on how to use ActiveMQ/ RabbitMQ
@CodeDecode
2 жыл бұрын
Sure Mayur 🙂👍
@narasaiahboga3579
2 жыл бұрын
Awesome explanation 👌👍 please make the next video on Kafka.
I already watched these videos. I'm requesting you for kakfa implementation videos
@jayarajsg4800
2 жыл бұрын
Thanks!
@CodeDecode
2 жыл бұрын
You're welcome
@bharukeerthi1986
Жыл бұрын
Great🎉
@CodeDecode
Жыл бұрын
Thanks 🙂❤
@chaitanya368
2 жыл бұрын
Hi, I'm trying to connect to Dbeaver which was shown one of your videos, but not able to establish connection. Can you provide any help on it. Thanks
@sahukarinaveenkumar3188
2 жыл бұрын
Thank you so much for your content.. can you please make a videos how reflection is internally used in spring?
@VinitUpare
Ай бұрын
At 17.03 , I think It would be T1 Not T2. ( T1 was about to write a new singleton instance ) , please correct me If I'm wrong.
@sergeykuznetsov3249
Жыл бұрын
How is it possible for two threads to go in a one synchronized block?
@CodeDecode
Жыл бұрын
Only 1 will go at a time
@motivation_hubPJ
Жыл бұрын
can you please answer this as you explain the use case of volatile but that should only arise when two thread's are accessing the same block at same time or preemption is happening but in any case the synchronised block must now allow the other thread to access because of the lock mechanism hence i am unable figure why you may want to use volatile here
Пікірлер: 55