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 |
What is a class c#?
Any exceptions are there which are not caught by any catch blocks? what are they?
What is the purpose of constructor in c#?
When you inherit a protected class-level variable, who is it available to?
Why should you override the tostring() method?
Is .net and c# the same?
What is the boxing and unboxing in c#?
In Main function another function is there and to that function if we pass string as parameter ,then that string value is passed by value or reference type?
Which is the best institute in hyderabad to learn Sharepoint Portal?
How we can create an array with non-default values?
Is versioning applicable to private assemblies?
Is c# an open source?
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)