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

Поделиться
HTML-код
  • Опубликовано: 16 июл 2024
  • 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:
    ruclips.net/user/Naveen%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...
  • НаукаНаука

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

  • @bihari1422
    @bihari1422 14 дней назад +5

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

  • @ranjanjyoti273
    @ranjanjyoti273 13 дней назад

    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 14 дней назад +1

    Thank for sharing 😇😇😇

  • @abdulRahman-id3ru
    @abdulRahman-id3ru 13 дней назад

    Thank you for creating this video !

  • @yashsaxena7139
    @yashsaxena7139 14 дней назад

    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

  • @anbu8006
    @anbu8006 13 дней назад

    Thanks

  • @prateekgupta8914
    @prateekgupta8914 9 дней назад

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

  • @niloychakravorty3832
    @niloychakravorty3832 13 дней назад

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

  • @mahalasakini5045
    @mahalasakini5045 14 дней назад

    Naveen can you please explain SOLID principles also

  • @neha7980
    @neha7980 14 дней назад

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

  • @ambika1524-s9k
    @ambika1524-s9k 14 дней назад

    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

  • @bihari1422
    @bihari1422 14 дней назад +4

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

    • @naveenautomationlabs
      @naveenautomationlabs  14 дней назад +4

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

    • @_abhimanyu.
      @_abhimanyu. 13 дней назад

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

    • @bihari1422
      @bihari1422 13 дней назад

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

    • @_abhimanyu.
      @_abhimanyu. 13 дней назад

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

    • @bihari1422
      @bihari1422 12 дней назад

      @@_abhimanyu. Email bro