C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !



Posted By: Sathish D.V.       Member Level: Silver       Posted Date: 29 Jul 2005       Category: C#

Which “Gang of Four” design pattern is shown below?

public class A {

private A instance;

private A() {

}

public
static A Instance {

get

{

if ( A == null )

A = new A();

return instance;

}

}

}



Select Answer:

Abstract Factory
Singleton
Builder
Factory




      
Your Test Score: 0 / 0



Next Question: If a method is marked as protected internal who can access it?
Previous Question: In the NUnit test framework, which attribute must adorn a test class in order for it to be picked up by the NUnit GUI?
Related Questions:
  • A single line comments are implemented by


  • Does C# support multiple inheritance?


  • Can you override private virtual methods?


  • What will be the output of following program


  • Where we use the Accessors of Get & Set.


  • Categories

    ASP.NET C# VB.NET 
    .NET Framework SQL Server Other 

    Submit Interview/Test Questions with Answers and make money from adsense revenue sharing program

    Want to prepare for an interview? Try our aptitude tests and standard interview questions first.


    dotNet Slackers   BizTalk Adaptors    Web Design


    Contact Us    Privacy Policy    Terms Of Use