I'm new to Java.
I was reading about Encapsulation concept in Object Oriented Programming.
While reading, I saw a line telling that :
If constructor of a class is declared as private, it will cause some problems.
But it didn't tell what kind of problems could occur.
Can anyone tell what kind of problems are there with private constructor ?