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: komaladevi       Member Level: Gold       Posted Date: 27 May 2008       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:

Factory
Abstract Factory
Singleton
Builder




      
Your Test Score: 0 / 0



Next Question: If a method is marked as protected internal who can access it?
Previous Question: Hiding implementation and exposing the interface in OOP's is called as?
Related Questions:
  • What kind of accessibility modifiers are used for methods inside the interface?


  • In C# How do you call a member of a base class from within a derived class?


  • Collections


  • What is the maximum size of an array?


  • C# code snippet


  • 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

    budget conference call

    Contact Us    Privacy Policy    Terms Of Use