Say true or false,Private constructor have object or not?
Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between ienumerable and icollection?
Which is faster abstract class or interface in c#?
How can you write a class to restrict that only one object of this class can be created (Singleton class)?
What is the use of main method in c#?
Why is it important to override gethashcode when equals method is overridden?
What types of object can I throw as exceptions?
What is a clr host?
How do we achieve encapsulation in c#?
Why do we need private constructor in c#?
What is visual c# net?
Can we have 2 main methods in c#?
What is arraylist class in c#?
What is difference between ienumerable and list in c#?
What is windows application in c#?
What is difference between override and new in c#?