Which .Gang of Four. design pattern is shown below?
Submitted by: Administrator<pre> public class A {
private A instance;
private A() {
}
public
static A Instance {
get
{
if ( A == null )
A = new A();
return instance;
}
}
}
</pre>
1. Factory
2. Abstract Factory
3. Singleton
4. Builder
Submitted by: Administrator
private A instance;
private A() {
}
public
static A Instance {
get
{
if ( A == null )
A = new A();
return instance;
}
}
}
</pre>
1. Factory
2. Abstract Factory
3. Singleton
4. Builder
Submitted by: Administrator
Read Online C# (Sharp) Programming Language Job Interview Questions And Answers
Top C# (Sharp) Programming Language Questions
☺ | What is a delegate in C#? |
☺ | What is the difference between const and static read-only? |
☺ | Why would you use untrusted verification? |
☺ | Which control cannot be placed in MDI? |
☺ | What does the parameter Initial Catalog define inside Connection String? |
Top Dot Net Technologies Categories
☺ | MSF Interview Questions. |
☺ | .Net Architecture Interview Questions. |
☺ | ASP.Net MVC Interview Questions. |
☺ | Entity Framework Interview Questions. |
☺ | C# (Sharp) Programming Language Interview Questions. |