Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How can we know that , how many instance of a perticular class object has been created ?

user-image
Question added by Mohd shahnawaz khan , Associate Project , Cognizant Technology Solution
Date Posted: 2013/10/24
Alaa Banna
by Alaa Banna , Core Banking Development Team Lead , Arabbank PLC

You can create a static attribute and increment it at the class constructor.

More Questions Like This