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 |
difference between managed code and unmanaged code ?
What is a shared assembly?
What is array and types of array in c#?
What is raise event and what is its use?
Is c++ or c# better?
Is it possible to have a static indexer in c#?
what is the difference between .dll and .exe
Why is it important to override gethashcode when equals method is overridden?
Suppose in a scenario if we want to display information only until 4.00 p.m and after that means after 4.00 p.m if any one tries to access the information it should give error mesage. Then how will you write a delegate for this ? Give coding.
1 Answers HP, nTech Solutions, Primetech Software, PS,
List some of the common data providers for ado.net framework?
Can u create multiple threads of execution ?
1 Answers IBM, ITC Infotech, UHU,
How do you inherit from a class in C#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)