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 part of a method signature in c#?

648


What are the collection types can be used in c#?

638


Is arraylist thread safe?

655


What is windows form in c#?

733


What is default c#?

699


Why do we need delegates?

653


What types of object can I throw as exceptions?

723


What is the use of system.environment class in c#.net?

709


What are virtual classes in c#?

726


What is a custom attribute?

647


What is double c#?

718


Why we use get set in c#?

693


What will be the output of the following code?

690


Why would you use untrusted verification?

702


Which namespaces are necessary to create a localized application?

804