What is the use of static abstract class
Answers were Sorted based on User's Feedback
Answer / srini
We cannot give static key word for abstract class
Is This Answer Correct ? | 21 Yes | 5 No |
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 |
Answer / kishore.a
We cannot mention an abstratct class as static..
Is This Answer Correct ? | 3 Yes | 3 No |
How assembly versioning in .NET prevent DLL Hell problem?
What do you mean by directing?
What is the difference between structure and class in c#?
Enlist the different types of classes in c#?
What is hashtable c#?
Please write a program to display “welcome to bestinterviewquestion.com” in c#?
What is the Difference between value and reference type?
What is the use of ienumerable in c#?
What is the difference between serialization and deserialization in c#?
Explain the types of comments in c#?
What is Global Assembly Cache (GAC) and what is the purpose of it? (How to make an assembly to public? Steps) How more than one version of an assembly can keep in same place?
What is a derived class in c#?