What is Singleton Pattern in Java - How to achieve this?

  Рет қаралды 7,709

Naveen AutomationLabs

Naveen AutomationLabs

Күн бұрын

In this video, I have explained What is Singleton Pattern in Java - How to achieve this?
The Singleton pattern in Java is a design pattern that restricts the instantiation of a class to one "single" instance. This is useful when exactly one object is needed to coordinate actions across the system. The Singleton pattern ensures that a class has only one instance and provides a global point of access to that instance.
Schedule a meeting in case of any queries/guidance/counselling:
calendly.com/naveenautomation...
~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
kzfaq.info%20Au...
Follow me on my Facebook Page:
/ naveenqtpexpert
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
t.me/joinchat/9FrG-KzGlvxjNmQ1
Naveen AutomationLabs Paid Courses:
GIT Hub Course:
naveenautomationlabs.com/gitc...
Java & Selenium:
naveenautomationlabs.com/sele...
Java & API +POSTMAN + RestAssured + HttpClient:
naveenautomationlabs.com/manu...

Пікірлер: 19
@bihari1422
@bihari1422 26 күн бұрын
Please continue this series with all the design patterns in Java.
@ranjanjyoti273
@ranjanjyoti273 25 күн бұрын
Excited for this series with all the design patterns for Automation testing .Getting lots of interview questions regarding design pattern .Thanks Naveen for doing this for community .
@SmrutiParekh
@SmrutiParekh 26 күн бұрын
Thank for sharing 😇😇😇
@abdulRahman-id3ru
@abdulRahman-id3ru 25 күн бұрын
Thank you for creating this video !
@xoda345
@xoda345 8 күн бұрын
Naveen, why do we need two null check for the browser? Why isn't one null check enough?
@anbu8006
@anbu8006 25 күн бұрын
Thanks
@yashsaxena7139
@yashsaxena7139 26 күн бұрын
Thanks Naveen if we go for eager initialisation instead of lazy ie creating instance before access. We will not require synchronised block correct me if wrong
@prateekgupta8914
@prateekgupta8914 21 күн бұрын
Thanks Naveen for this video. Could you please create same for Playwright with Java?
@niloychakravorty3832
@niloychakravorty3832 25 күн бұрын
Hi Naveen, can you make a video on Collectors.grouping by questions ?
@bihari1422
@bihari1422 26 күн бұрын
Honestly speaking if you would have made the video before about it I would have crack EPAM for remote location.... : (
@naveenautomationlabs
@naveenautomationlabs 26 күн бұрын
No worries, more opportunities will be there for you in future. Keep learning.
@_abhimanyu.
@_abhimanyu. 25 күн бұрын
I too had an interview with EPAM yesterday. Did you get any feedback from the HR team yet?
@bihari1422
@bihari1422 25 күн бұрын
@@_abhimanyu. yeah profile on hold and candidate lags in JAVA design patterns
@_abhimanyu.
@_abhimanyu. 25 күн бұрын
@@bihari1422 Did you get an email about it or did the HR call you?
@bihari1422
@bihari1422 24 күн бұрын
@@_abhimanyu. Email bro
@mahalasakini5045
@mahalasakini5045 25 күн бұрын
Naveen can you please explain SOLID principles also
@ambika1524-s9k
@ambika1524-s9k 26 күн бұрын
Sir i tried to connect with you on LinkedIn and WhatsApp which you provided on your website regarding mock interview i really want to take mock interview please reply if it's possible for you to schedule mock or not sir
@neha7980
@neha7980 26 күн бұрын
Why do we need to create object only single time ? whats the real time use case at framework level?
@MrAshu58
@MrAshu58 9 күн бұрын
@@neha7980 logging is 1 use case when we want different module of an application to write to a single log file.
Singleton Pattern With Selenium WebDriver + Java + TestNG
20:57
Naveen AutomationLabs
Рет қаралды 11 М.
What is Factory Pattern? How to achieve this in Java?
12:10
Naveen AutomationLabs
Рет қаралды 2,4 М.
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 59 МЛН
No empty
00:35
Mamasoboliha
Рет қаралды 3,9 МЛН
Little girl's dream of a giant teddy bear is about to come true #shorts
00:32
Я обещал подарить ему самокат!
01:00
Vlad Samokatchik
Рет қаралды 3,9 МЛН
Singleton Design Pattern in Java
11:34
Coding Simplified
Рет қаралды 136 М.
Live with Naveen - Q&A
1:28:00
Naveen AutomationLabs
Рет қаралды 2,8 М.
Хакер взломал компьютер с USB кабеля. Кевин Митник.
0:58
Последний Оплот Безопасности
Рет қаралды 501 М.
Tag her 🤭💞 #miniphone #smartphone #iphone #samsung #fyp
0:11
Pockify™
Рет қаралды 73 МЛН
Облачная память в iPhone? #apple #iphone
0:53
Не шарю!
Рет қаралды 127 М.
Опасность фирменной зарядки Apple
0:57
SuperCrastan
Рет қаралды 9 МЛН