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 |
What types of object can I throw as exceptions?
Why do we need escape characters?
Can we inherit abstract class in c#?
What are the Types of assemblies that can be created in dotnet
What is CASPOL?
Define an escape sequence, name few strings in escape sequence?
what is master pages how to use it. plase give one example in code vice
datagridview using updata in windows c#
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 ?
Which collection will you use to store different types of objects collection like... int, employee, student, object etc.
Is stringbuilder better than string?