final class and private constructor
807598Apr 28 2006 — edited Apr 29 2006Whats the difference in a final class and a class with private constructot?
If we can make a class non-extendable by just giving private constructor then whats the advantage of final class? (I know final is very useful for many other things but just want to get info in this contaxt)