Say true or false,Private constructor have object or not?
Answer Posted / 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 |
Post New Answer View All Answers
What are access modifiers used for?
What is difference between encapsulation and abstraction in c#?
You have got 1 million parking slots. At a time a parking slot can be free or not. To get next slot easily which data structure to implement?
What is a boolean c#?
Why do we need generics in c#?
what will be the output of the given below coding. using System; public class Exercise { static void OddNumbers(int a) { if (a >= 1) { Console.Write("{0}, ", a); a -= 2; OddNumbers(a); } } public static int Main() { const int Number = 9; Console.WriteLine("Odd Numbers"); OddNumbers(Number); Console.WriteLine(); return 0; } }
What is immutable in C#?
How can you read 3rd line from a text file?
Explain the difference between const and static read-only?
Is it possible to inline assembly or il in c# code?
List down the fundamental oop concepts?
What is the implicit name and type of the parameter that gets passed into the class set method?
Who benefits from ajax?
Define xslt.
What do you mean by abstract class in c#?