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's the difference between system.string and system.text.stringbuilder classes?

525


How to transpose multi-dimensional array?

557


Is c# the same as d flat?

505


What is difference between arraylist and list in c#?

432


Is clr a compiler?

489






How main method is called in c#?

515


Can we store different data types in arraylist in c#?

467


What is an example of delegation?

499


Why do we need private constructor in c#?

467


Okay, so an int is a value type, and a class is a reference type. How can int be derived from object?

546


What are boxing and unboxing?

522


Distinguish between a class and struct?

512


Can abstract class instantiated c#?

501


What is the usage of OLE?

586


What's the difference between a static method and a non static method c#?

501