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

What does return do in unity?

0 Answers  


Explain synchronous and asynchronous operations?

0 Answers  


What is interpolation in programming?

0 Answers  


What do you mean by saying a "struct is a value type"?

0 Answers  


What is boxing? Explain its functionality?

0 Answers   Siebel,


What are events in C#?

0 Answers   CDC,


Which namespaces are necessary to create a localized application?

0 Answers   MindCracker,


how dot net compiled code will become platform independent?

0 Answers  


What is the use of inheritance in c#?

0 Answers  


What is an escape sequence?

0 Answers  


Distinguish between system.string and system.text.stringbuilder classes?

0 Answers  


What are different properties provided by Object-oriented systems?

2 Answers  


Categories