Questions : In java how can we identify whether class is already there in heap or not?
Intention of asking this question is if you want that one class is already loaded in heap then from your class you should not creat new object rather use the old one.
More over another way of creating singleton but without using traditional way...may sound funny ;)