Using constructor
how to restrict class from creating object using constructor
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ravi PatelRank #439 · 5.7K reputationPosted Oct 13, 2017, 8:53 AM EDT
Ankit SahuRank #1,035 · 1.9K reputationPosted Oct 13, 2017, 9:23 AM EDT
Tapan PatelRank #614 · 3.9K reputationPosted Oct 13, 2017, 12:14 PM EDT