2
Answers

Private constructor vs abstract class

Pooja Sharma

Pooja Sharma

14y
13.7k
1
Hi,

A class cannot be instantiated when it has Private constructor. Abstract class also serve the same purpose. Then, What is the difference between abstract class and a class with private constructor?


Answers (2)