difference between the run time polymorphism and compile
time poly morphism and about virtual function.
Answer Posted / sangita pradhan
Compile time polymorphism(Static polymorphism) means
basically those language structure which will cause the
compiler to produce code at the compile-time. That is, the
compiler is well aware that what code is to be generated at
the compile-time itself: Ex: overloading of operators,
functions.
Run time Polymorphism(Dynamic Polymorphism)means that the
compiler is unaware what code is to be generated so it binds
the possible code and let the program decide it at the
run-time itself.Ex: the virtualness of a class member or the
entire class itself.
Is This Answer Correct ? | 79 Yes | 7 No |
Post New Answer View All Answers
Define threaded binary tree. Explain its common uses
What are data structures in programming?
What are different sorting algorithms?
Differentiate between hashset and hashmap.
Can you list out the areas in which data structures are applied extensively?
Now you are given an array of a characters (both ASCII and Kanji) and, an index into the array. The index points to the start of some character. Now you need to write a function to do a backspace (i.e. delete the character before the given index).
What is stack explain with diagram?
Explain the Queue
What sort of serious problems have you experienced, and how have you handled them?
What do you understand by stable sort?
Write code for reversing a linked list.
Does hashset maintain order?
What is copyonwritearraylist?
What is Jagged Arrays?
What is list and types of list?