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 |
How cache is implemented in web application for DB queries?
Describe how a .net application is compiled and executed
what is boxing and unboxing?can we initialize unboxing directly?
What is primitive types in c#?
what is namespace?
Is c# easier than c++?
Is var a data type?
What is sqladapter c#?
Can you instantiate a struct without using a new operator in c#?
How to create multi-dimensional array?
Oops concepts ?
2 Answers Accenture, Digital GlobalSoft,
Why is main static in c#?