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...


Can you override private virtual methods?

Answers were Sorted based on User's Feedback



Can you override private virtual methods?..

Answer / guest

No, moreover, you cannot access private methods in inherited
classes, have to be protected in the base class to allow any
sort of access

Is This Answer Correct ?    2 Yes 0 No

Can you override private virtual methods?..

Answer / dsp

When you specify Virtual method as a private member it will
gives compilation error.So u on't

Is This Answer Correct ?    2 Yes 0 No

Can you override private virtual methods?..

Answer / naveen

As a private acess level is visible to current class only
it will be meaning less to specify vitual method and more
over it must generate a compilation error.

Is This Answer Correct ?    1 Yes 0 No

Can you override private virtual methods?..

Answer / kanan

No we can not declare method as "Private Virtual".

Is This Answer Correct ?    0 Yes 0 No

Can you override private virtual methods?..

Answer / sudhir sheoran

It will give compilation error because virtual functions
can't be private.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How to add controls dynamically to the form using c#.net.

0 Answers  


Which are access modifiers available in c#?

0 Answers  


How do you convert byte array to hexadecimal string, and vice versa?

0 Answers  


Can the accessibility of a type member be greater than the accessibility of its containing type?

0 Answers  


What is the difference between Singleton design pattern and Factory design pattern?

0 Answers  


What is the advantage of dependency injection?

0 Answers  


How many variables do you need?

0 Answers  


What is yield break in c#?

0 Answers  


1)what is timestamp in C# (anilringole@gmail.com)

2 Answers   Wipro,


Define satellite Assembly?

0 Answers   Siebel,


From which base class do all Web Forms inherit from?

0 Answers   Siebel,


Can we create instance for Abstract class?

28 Answers   HCL, Satyam, SoftSol, Wipro,


Categories