Click here to Skip to main content
12,078,259 members (44,822 online)
Click here to Skip to main content

Tagged as


1 bookmarked

Question on Private Constructor

, 25 Jan 2013 CPOL
Private constructor is used to disable construction of a class using a constructor. It makes sense for a non-static class, of course. Let's set aside static constructors: they do not allow access modifiers at all, and are always treated as private. Here is why: if no constructors defined,...



Compare Revision Minor Date Status Editor
2 - publicly available No 26-Jan-13 0:09 Available Sergey Alexandrovich Kryukov
Updates in content. 21 changes had been made.
1 No 26-Jan-13 0:08 Available Sergey Alexandrovich Kryukov


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Sergey Alexandrovich Kryukov
United States United States
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.160212.1 | Last Updated 26 Jan 2013
Article Copyright 2013 by Sergey Alexandrovich Kryukov
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid