Search:

Type: Posts; User: tcstcs

Search: Search took 0.12 seconds.

  1. Replies
    3
    Views
    1,406

    Re: Frequent Interview qn

    Singleton class need to have only one instance per JVM at any given time.
    In Static class we can directly access the methods/variables without creating a instance of it.
    Then why singleton is...
  2. Replies
    3
    Views
    1,406

    Frequent Interview qn

    When we have Static class, what is the need for Singleton design pattern. I tried googling, but didn't get satisfactory answer.
    Please tell me if anybody knows the exact diff
Results 1 to 2 of 2