Say true or false,Private constructor have object or not?
Answers were Sorted based on User's Feedback
Answer / vishnu
we cannot create object for the private constructor class...
Is This Answer Correct ? | 24 Yes | 5 No |
Answer / jamie plenderleith
An object can be instantiated with a private constructor
from within a shared/static methond within the same class
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / rajkumar
A class entry point is a Constructor, So a class which has private class is inaccessible by other..in that case u cant even access a class so how can u create an instance for the class which has private constructor
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / santoshvw
we create private constructor this possible but we can't
create object(instance) of that class and we can't
communicate one class to another.
Is This Answer Correct ? | 1 Yes | 0 No |
Can multiple catch blocks be executed?
How to use session under class file of APP_Code folder?
What is difference between an reference type and value type in C#?
List down the fundamental oop concepts?
What are the Types of assemblies that can be created in dotnet
What is class method?
Can a static class have a constructor c#?
What is console programming language?
Explain the Usage of web.config
What is data type in c# with example?
Whats the use of string builder?
What is the difference between C# 3.5 and C# 4.0?