which access modifier we can declare the abstract class?
Answers were Sorted based on User's Feedback
Answer / anish
Abstact class cannot be declared private, as private class cannot be inherited. However it can be declared as public, protected.
Is This Answer Correct ? | 14 Yes | 2 No |
Answer / kapil jain
public and internal are those access modifiers which we can
use to declare the abstract class.
Is This Answer Correct ? | 5 Yes | 1 No |
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 |
Answer / imatoria
Unlike Interface, Abstract class can have private, public
modifiers atleast, but not protected. I am not sure about
internal and protected internal modifiers
Is This Answer Correct ? | 7 Yes | 6 No |
Answer / guest
By using override access modifier we can declare abstract class
Is This Answer Correct ? | 3 Yes | 18 No |
What is difference between event and delegate in c#?
What is the use of 'using' statement in c#?
What is function c#?
What is desktop application testing?
How can i load the text box and label at the runtime based on the existing text box and tabel
2 Answers Merrill Lynch, Patni,
What is c# and why it is used for?
Who benefits from ajax?
Explain publishers and subscribers in events.
How to authenticate web service? When you enter the web service url in browser it should ask username and password. After entering the un&pwd we have to show its methods and service description(wsdl).
What is HashTable, what is the use of it, when do we use (purpose).
Is enum a value type c#?
What is reflection in c#?