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 is .net console?

0 Answers  


Why is static constructor called first?

0 Answers  


What is difference between managed and unmanaged code?

0 Answers   SwanSoft Technologies,


why C#.net doesnot support prcedures and why it supports structs,functions

1 Answers  


Why do we use Design Pattern?

1 Answers   Impetus,


What is marshalling and what are different kinds of marshalling?

0 Answers  


What is toint32 c#?

0 Answers  


Is class reference type c#?

0 Answers  


How can we insert 100 records @ a time without using for loop into the databse

10 Answers   IBM,


Describe an interface class?

0 Answers   Siebel,


Where’s global assembly cache located on the system?

0 Answers  


Why abstraction is used in c#?

0 Answers  


Categories