.NET interview question video :- What is the use of private constructor ?

Posted by Questpond under .NET Framework category on | Points: 350 | Views : 6090
This is one of those .NET interview question is asked from the perspective to test if you understand the importance of private constructors in a class.
When we declare a class constructor as private , we can not do 2 things:-
-- We can not create a object of the class.
-- We can not inherit the class.

Get Questpond videos on discounted price from ITFunda.com.

Comments or Responses

Posted by: Samarmir on: 3/5/2011
This was actually a very good video. Easy to understand.
Thanks for the video.

Login to post response