Skip to content
  • Poetry/Shayari
    • Aai
    • Collection
    • थकलेल्या बाबाची कथा
    • याद किया करेंगे तुम्हें
    • अभी बाकी है
  • Home
  • Blog

anupam pawar

Let's Simplify

Tag: singleton

Java : Singleton and Clone

Posted on November 15, 2018 by Anupam Pawar in Tech

Hi Folks! Does clone create a another singleton object ? We all knows that Singleton  means creating only one instance of the Class.  But what happens when clone() method from objects class is applied on same class. Does it hamper the whole purpose of singleton , if So, is there any other ways to create … Continue reading Java : Singleton and Clone →

Tagged design pattern, java, singletonLeave a comment

Search

Blog at WordPress.com.
  • Subscribe Subscribed
    anupam pawar

    Have a WordPress.com account? Log in now.

  • anupam pawar
    View site in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar