Biranchi Narayan Puhan has written:
'Sex role identification, security-insecurity and self-dissatisfaction in adolescents' -- subject(s): Self-acceptance, Self-evaluation, Security (Psychology), Adolescent psychology
Pratima Puhan was born on 1991-08-27.
/** * @author lalatendu puhan * */ class TestSingleton { // Singleton implementation private static TestSingleton testSingleton = null; /** * Default contructor, with singleton implementation */ private TestSingleton() { } /** * I return the singleton instance . * @return */ public static TestSingleton getSingleton() { if(null == testSingleton) testSingleton = new TestSingleton(); return testSingleton; } } to access this /** * @author Lalatendu puhan * */ public class AccessSingleton { TestSingleton mSingleton; public void getSingletonObj() { mSingleton = TestSingleton.getSingleton(); } public static void main(String[] args) { AccessSingleton obj1 = new AccessSingleton(); obj1.getSingletonObj(); } }