Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


which access modifier we can declare the abstract class?

Answers were Sorted based on User's Feedback



which access modifier we can declare the abstract class?..

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

which access modifier we can declare the abstract class?..

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

which access modifier we can declare the abstract class?..

Answer / 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

which access modifier we can declare the abstract class?..

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

which access modifier we can declare the abstract class?..

Answer / guest

By using override access modifier we can declare abstract class

Is This Answer Correct ?    3 Yes 18 No

Post New Answer

More C Sharp Interview Questions

Is c# good for beginners?

0 Answers  


What is an object pool in .net?

0 Answers  


How do namespaces work?

0 Answers  


What is lastindexof c#?

0 Answers  


Why do we use anonymous method in c#?

0 Answers  


Why References are stored on heap and variables on stack?

0 Answers   MCN Solutions,


what is the difference between finally and dispose methods?

3 Answers   HCL, Patni,


Explain the difference between abstract class and interface in .net?

0 Answers  


Can var be null c#?

0 Answers  


What is the main purpose of xml?

0 Answers  


What is the difference between double and decimal in c#?

0 Answers  


What is cookies in c# asp net?

0 Answers  


Categories