which access modifier we can declare the abstract class?
Answer Posted / vindhya
the access modifier of the abstract method should be same in
both the abstract class and its derived class. If you
declare an abstract method as protected, it should be
protected in its derived class. Otherwise, the compiler will
raise an error
and an abstract class can't be private..becz private members
can't be inherit.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are PE(Portable Executable)?
How many types of constructors are there in c#?
What is the difference between ref and out in c#?
Define c# i/o classes?
What is for loop in c#?
What are native methods?
Is enum a class c#?
What does static mean in c sharp?
Why do I get a syntax error when trying to declare a variable called checked?
How do you define a predicate?
What is nullable types in c#?
If a.equals(b) is true then a.gethashcode & b.gethashcode must always return same hash code.
How can I get around scope problems in a try/catch?
Explain the clr triggers?
What are the different types of comments in c#?