Hi,
I have a class, which has one private constructor
public class test extends test1
{
private test{
super();
}
and then a public test(int i, String s){blah blah}
now if i wanted a singleton model, and did not want 2 instances of thsi class, why have a public constructor(that will allow other classes to create other instances ???/!!!11)
and moreover that super(), in the private constructor accesses
the public constructor in test1 class. what all this lead to???does it all not lead to totally counteracting the need a for a private constructor???
thanks guys