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 |
Explain the role of Garbage collector and its generations?
What is the difference between serialization and deserialization in c#?
Explain About Global.asax
What are constants in c#?
Is for loop faster than foreach?
What is gui in c#?
How to move to a state-related codebase?
Explain the difference between passing parameters by value and passing parameters by reference with an example?
Is arraylist thread safe?
What are the 4 pillars of any object oriented programming language?
Why is xml called extensible?
What are the Uses of CLR
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)