adspace


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


Please Help Members By Posting Answers For Below Questions

What is expression tree in c#?

998


Why can't we use a static class instead of singleton?

954


Which namespaces are necessary to create a localized application?

1142


What is an abstract class c#?

969


How to assign Null value to Var?

1064


How do you inherit a class into other class in c#?

995