Selenium-Java : Interview Question 1: Singleton Class

Поділитися
Вставка
  • Опубліковано 15 жов 2024
  • Selenium Java Interview Questions Series:
    -------------------------------------------------------------------------
    1. What is Singleton Class
    2. How to Implement Singleton class.

КОМЕНТАРІ • 5

  • @CMsuka
    @CMsuka Рік тому

    Excellent lucid Explanation .Thanks dear

  • @chpasta
    @chpasta Рік тому

    Ok, static object can just call static method, right? But what reason should they be static? This way, it is not it in memory.... what the benefits in being static?

  • @Ak-tq4zt
    @Ak-tq4zt Рік тому

    Good explanation

  • @NewbieInForeignLand
    @NewbieInForeignLand Рік тому

    What's the use of singleton class?