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
What is the oops and benefits of oops programming?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Are polymorphisms mutations?
What is class and object in oops?
What is encapsulation c#?
How is polymorphism achieved?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is polymorphism used for?
What is abstraction in oop with example?
Can we define a class within the interface?
What are the three parts of a simple empty class?
When not to use object oriented programming?
State what is encapsulation and friend function?
when to use 'mutable' keyword and when to use 'const cast' in c++
what's the basic's in dot net