what is the difference between virtual function and
destoctor?
Answer Posted / prabhakar
virtual function is just like a member function of a class.it is used to over loading mechanisam.it can be acesses by any object of either base class or derived class.
destructor is used to dellocate the memory of an object.it can call by using delete operator.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is debug class?what is trace class? What differences are between them? With examples.
What is the difference between encapsulation and polymorphism?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is encapsulation with real life example?
What is interface in oop?
What is object-oriented programming? Webopedia definition
What is abstraction with example?
What is class encapsulation?
What is an advantage of polymorphism?
What is object and example?
What is the purpose of polymorphism?
i got a backdoor offer in process global,Bangalore..Can i work with it?
What is polymorphism what is it for and how is it used?
What is encapsulation oop?