Hi.
say you have made 3 instances of a person from class Person, p1, p2 & p3.
Is there a way of returning through a println, to show how many instances of a class exist???
I've tried a few ways of calling the getClasses method from Class Class, but havn't succeeded. If anyone knows i'd be extremely grateful!
thankyou all
JoE we are all of us living in the gutter.
But some of us are looking at the stars.
say you have made 3 instances of a person from class Person, p1, p2 & p3.
Is there a way of returning through a println, to show how many instances of a class exist???
I've tried a few ways of calling the getClasses method from Class Class, but havn't succeeded. If anyone knows i'd be extremely grateful!
thankyou all
JoE we are all of us living in the gutter.
But some of us are looking at the stars.