Home
|
Contact us
Prevent class from being instantiated
Name two ways that you can prevent a class from being instantiated.
Ways to prevent a class from instantiated:
A class cannot be instantiated if it is
abstract
or if it has a
private constructor
.
Category:
OOPS Faqs Concepts Faqs, Interview Questions & Answers in C#
Ask New Questions
Microsoft.Net Framework
.Net 2.0 Namespaces
.Net Assemblies
OOPS Faqs in C#
ASP.Net Faqs
ASP.Net 2.0 Faqs
Web Services Faqs
ADO.Net Faqs
Database Faqs
OOPS Faqs
IT Project Management
© DotNetInterviewFaqs.com