What is the use of static abstract class

Answers were Sorted based on User's Feedback



What is the use of static abstract class..

Answer / srini

We cannot give static key word for abstract class

Is This Answer Correct ?    21 Yes 5 No

What is the use of static abstract class..

Answer / radheshayam

An abstract class cannot be sealed or static.Exe
using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication31
{
public abstract class hi
{
public abstract void disl();
}
class Program : hi
{

public override void disl()
{
string name = "radhey" + "Shyam";
Console.WriteLine(name);
Console.ReadLine();
}

static void Main(string[] args)
{
Program obj = new Program();
obj.disl();
}
}
}

Is This Answer Correct ?    5 Yes 1 No

What is the use of static abstract class..

Answer / ananth

Can you pls give me an example

Is This Answer Correct ?    3 Yes 1 No

What is the use of static abstract class..

Answer / kishore.a

We cannot mention an abstratct class as static..

Is This Answer Correct ?    3 Yes 3 No

What is the use of static abstract class..

Answer / irfan khan

we cant give static key word for a class

Is This Answer Correct ?    10 Yes 24 No

Post New Answer

More C Sharp Interview Questions

What types of object can I throw as exceptions?

0 Answers  


Why do we need escape characters?

0 Answers  


Can we inherit abstract class in c#?

0 Answers  


What are the Types of assemblies that can be created in dotnet

0 Answers  


What is CASPOL?

0 Answers   MCN Solutions,


Define an escape sequence, name few strings in escape sequence?

0 Answers  


what is master pages how to use it. plase give one example in code vice

1 Answers  


datagridview using updata in windows c#

1 Answers  


What does the term immutable mean?

3 Answers   Satyam, Siebel Systems, Techno Labs,


If we inherit a class do the private variables also get inherited ?

6 Answers   TCS,


Which collection will you use to store different types of objects collection like... int, employee, student, object etc.

5 Answers   R Systems,


Is stringbuilder better than string?

0 Answers  


Categories