Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

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

user-image
Question ajoutée par Mohd shahnawaz khan , Associate Project , Cognizant Technology Solution
Date de publication: 2013/10/24
Alaa Banna
par 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

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?