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

  Рет қаралды 24,853

Naveen AutomationLabs

Naveen AutomationLabs

Күн бұрын

Пікірлер: 34
@bihari1422
@bihari1422 6 ай бұрын
Please continue this series with all the design patterns in Java.
@SantoshKumar-mb7nc
@SantoshKumar-mb7nc Ай бұрын
Hello Naveen, Greetings!! In this case same driver instance is shared in all thread and if in any thread driver.close or quit is called then it will be closed for all the thread, right?
@ranjanjyoti273
@ranjanjyoti273 6 ай бұрын
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 .
@xoda345
@xoda345 5 ай бұрын
Naveen, why do we need two null check for the browser? Why isn't one null check enough?
@soumyaranjandas8312
@soumyaranjandas8312 3 ай бұрын
I am impressed the way of explanation . Thank You so much . Carry on
@SmrutiParekh
@SmrutiParekh 6 ай бұрын
Thank for sharing 😇😇😇
@abdulRahman-id3ru
@abdulRahman-id3ru 6 ай бұрын
Thank you for creating this video !
@zephyrdark
@zephyrdark 3 ай бұрын
Thank you for the video! I am migrating a shell script to Java, and I want to implement logging. If I want to implement, some custom functions for the Logger class, does it make sense to make a CustomLogger using a Singleton design pattern?
@yashsaxena7139
@yashsaxena7139 6 ай бұрын
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
@bihari1422
@bihari1422 6 ай бұрын
Honestly speaking if you would have made the video before about it I would have crack EPAM for remote location.... : (
@naveenautomationlabs
@naveenautomationlabs 6 ай бұрын
No worries, more opportunities will be there for you in future. Keep learning.
@_abhimanyu.
@_abhimanyu. 6 ай бұрын
I too had an interview with EPAM yesterday. Did you get any feedback from the HR team yet?
@bihari1422
@bihari1422 6 ай бұрын
@@_abhimanyu. yeah profile on hold and candidate lags in JAVA design patterns
@_abhimanyu.
@_abhimanyu. 6 ай бұрын
@@bihari1422 Did you get an email about it or did the HR call you?
@bihari1422
@bihari1422 6 ай бұрын
@@_abhimanyu. Email bro
@kailashpathak8906
@kailashpathak8906 4 ай бұрын
Very well ❤️‍🩹 explained.. thanks Naveen!!!
@prateekgupta8914
@prateekgupta8914 6 ай бұрын
Thanks Naveen for this video. Could you please create same for Playwright with Java?
@mahalasakini5045
@mahalasakini5045 6 ай бұрын
Naveen can you please explain SOLID principles also
@niloychakravorty3832
@niloychakravorty3832 6 ай бұрын
Hi Naveen, can you make a video on Collectors.grouping by questions ?
@anbu8006
@anbu8006 6 ай бұрын
Thanks
@ambika1524-s9k
@ambika1524-s9k 6 ай бұрын
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
@nityaranjan6714
@nityaranjan6714 5 ай бұрын
How you are writing with mouse on eclipse directly?
@soulofangel1990
@soulofangel1990 3 ай бұрын
he is using a diffent software to write on the background of the screen.
@dchenamoni7858
@dchenamoni7858 4 ай бұрын
what is Browser.class can you tell what it will do?
@naveenautomationlabs
@naveenautomationlabs 4 ай бұрын
Please watch the full video, its already explained what is the purpose of Browser class.
@neha7980
@neha7980 6 ай бұрын
Why do we need to create object only single time ? whats the real time use case at framework level?
@MrAshu58
@MrAshu58 5 ай бұрын
@@neha7980 logging is 1 use case when we want different module of an application to write to a single log file.
@mesmerizeart663
@mesmerizeart663 3 ай бұрын
@@MrAshu58 We know Logging and service Registery,in this case are you creating singletone class Manually or just search the use of singletone class in chartgpt and it's show you the answer.😂😂😂
@mamtabharambe257
@mamtabharambe257 4 ай бұрын
Singleton error
Singleton Pattern With Reflection Attack - How to protect reflection attacks?
7:54
Singleton Pattern With Selenium WebDriver + Java + TestNG
20:57
Naveen AutomationLabs
Рет қаралды 17 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Java Design Patterns - step by step - made easy for Beginners.
54:01
Patrick WashingtonDC
Рет қаралды 149 М.
13. Java Singleton and Immutable Class Explained with Examples | Java Classes in Depth - Part4
28:26
What is Factory Pattern? How to achieve this in Java?
12:10
Naveen AutomationLabs
Рет қаралды 8 М.
Singleton Pattern - Design Patterns
8:28
Web Dev Simplified
Рет қаралды 165 М.
Factory Pattern With Selenium WebDriver + Java + TestNG
20:57
Naveen AutomationLabs
Рет қаралды 6 М.
How to BREAK and FIX Singleton Design Pattern | Interview Question
19:32
Daily Code Buffer
Рет қаралды 34 М.