leela krishhna wrote:Finding no.of Objects created for a class...
I finally got this code...
Any modifications, please suggest
This seems ok for what you were looking. I would just modify class a little bit, by setting
count to be private, and provide just one getter for reading it's value.