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 we have a private virtual method ?

Answer Posted / edward

yes... we can have private virtual method and will not give
any compile time/runtime error. but there is no use of it.
we could not call the method from out side of the class

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of enum?

1056


Is data hiding and abstraction same?

1103


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

2176


What is solid in oops?

1197


What is polymorphism give a real life example?

1077


What are the 3 principles of oop?

1167


What exactly is polymorphism?

1178


What does it mean when someone says I oop?

1121


when to use 'mutable' keyword and when to use 'const cast' in c++

2218


What is polymorphism oop?

1106


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1915


What is an interface in oop?

1087


How do you answer polymorphism?

1105


Why multiple inheritance is not possible?

1117


What is encapsulation in simple terms?

1096