Programming Concepts Question:

Download Job Interview Questions and Answers PDF

Explain virtual function?

Programming Concepts Interview Question
Programming Concepts Interview Question

Answer:

virtual functions are the functions by which we can implement the concept of polymorphism ,ie one name with several distinct forms.a f'n preceded by a virtual keyword makes a function virtual means the compiler turns on the mechanism to perform late binding or dynamic binding.more of all,the same function name can be used to perform different tasks .

Download Programming Concepts Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me what is the difference between connecting to RDBMS using ODBC and native drivers?Explain how to get the prime number rows from table i.e. like
1,3,5,7,11?