difference between the run time polymorphism and compile
time poly morphism and about virtual function.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sitaram
The object can be binded at the time of compiling is known
as compiletime polymorphism
The object can be binded at the time of running is known as
running polymorphism
| Is This Answer Correct ? | 10 Yes | 0 No |
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).
Is Arraylist faster than Array? Why?
Explain the term tail recursion?
What is the impact of signed numbers on the memory?
Convert the following infix expression to post fix notation ((a+2)*(b+4)) -1
Why is treeset sorted?
What is bubble sort algorithm?
in tree construction which is the suitable efficient data structure? (Array, linked list, stack, queue)
Is hashmap ordered?
What do you mean by double hashing?
Explain implementation of deletion from a binary tree.
Questions related to arrays, such as given a 2 integer array, find the common elements.