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

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2024

Комментарии • 34

  • @bihari1422
    @bihari1422 5 месяцев назад +8

    Please continue this series with all the design patterns in Java.

  • @SantoshKumar-mb7nc
    @SantoshKumar-mb7nc 4 дня назад +1

    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 4 месяца назад

    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 .

  • @soumyaranjandas8312
    @soumyaranjandas8312 Месяц назад

    I am impressed the way of explanation . Thank You so much . Carry on

  • @bihari1422
    @bihari1422 5 месяцев назад +8

    Honestly speaking if you would have made the video before about it I would have crack EPAM for remote location.... : (

    • @naveenautomationlabs
      @naveenautomationlabs  5 месяцев назад +8

      No worries, more opportunities will be there for you in future. Keep learning.

    • @_abhimanyu.
      @_abhimanyu. 4 месяца назад

      I too had an interview with EPAM yesterday. Did you get any feedback from the HR team yet?

    • @bihari1422
      @bihari1422 4 месяца назад

      @@_abhimanyu. yeah profile on hold and candidate lags in JAVA design patterns

    • @_abhimanyu.
      @_abhimanyu. 4 месяца назад

      @@bihari1422 Did you get an email about it or did the HR call you?

    • @bihari1422
      @bihari1422 4 месяца назад

      @@_abhimanyu. Email bro

  • @xoda345
    @xoda345 4 месяца назад +1

    Naveen, why do we need two null check for the browser? Why isn't one null check enough?

  • @abdulRahman-id3ru
    @abdulRahman-id3ru 4 месяца назад

    Thank you for creating this video !

  • @niloychakravorty3832
    @niloychakravorty3832 4 месяца назад

    Hi Naveen, can you make a video on Collectors.grouping by questions ?

  • @zephyrdark
    @zephyrdark 2 месяца назад

    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?

  • @prateekgupta8914
    @prateekgupta8914 4 месяца назад

    Thanks Naveen for this video. Could you please create same for Playwright with Java?

  • @mahalasakini5045
    @mahalasakini5045 4 месяца назад

    Naveen can you please explain SOLID principles also

  • @SmrutiParekh
    @SmrutiParekh 5 месяцев назад +1

    Thank for sharing 😇😇😇

  • @yashsaxena7139
    @yashsaxena7139 5 месяцев назад

    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

  • @kailashpathak8906
    @kailashpathak8906 2 месяца назад

    Very well ❤️‍🩹 explained.. thanks Naveen!!!

  • @ambika1524-s9k
    @ambika1524-s9k 5 месяцев назад

    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 3 месяца назад

    How you are writing with mouse on eclipse directly?

    • @soulofangel1990
      @soulofangel1990 2 месяца назад

      he is using a diffent software to write on the background of the screen.

  • @anbu8006
    @anbu8006 4 месяца назад

    Thanks

  • @dchenamoni7858
    @dchenamoni7858 2 месяца назад

    what is Browser.class can you tell what it will do?

    • @naveenautomationlabs
      @naveenautomationlabs  2 месяца назад

      Please watch the full video, its already explained what is the purpose of Browser class.

  • @neha7980
    @neha7980 5 месяцев назад

    Why do we need to create object only single time ? whats the real time use case at framework level?

    • @MrAshu58
      @MrAshu58 4 месяца назад +1

      @@neha7980 logging is 1 use case when we want different module of an application to write to a single log file.

    • @mesmerizeart663
      @mesmerizeart663 Месяц назад

      @@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 2 месяца назад

    Singleton error