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?s an abstract clas?

5 Answers   Mind Tree,


Why delegates are required?

0 Answers  


What is a dynamic assembly?

0 Answers  


Is list passed by reference c#?

0 Answers  


What is a protected class in c#?

0 Answers  






example of uniary operators and binary operators

0 Answers  


What does the keyword virtual mean in the method definition?

1 Answers  


what is Diff Gram

2 Answers   HCL, Nippon,


Is c# pass by value?

0 Answers  


explain DIFFERENCE BETWEEN CLASS AND MODULE?

3 Answers  


What is yield break in c#?

0 Answers  


Explain about Threading Types.

0 Answers   DELL,


Categories