Can anyone please explain runtime polymorphism with a real time example??at what ciscumstances we go for it??
1 4874write a programe to calculate the simple intrest and compund intrest using by function overlading
2214#include
#include
#include
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
2126
Can we define a class within the interface?
What are the 4 main oop principles?
What is overriding vs overloading?
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?
Why polymorphism is used in oops?
What type of loop is a for loop?
Can we have inheritance without polymorphism?
What is the example of polymorphism?
What is destructor example?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What are two types of polymorphism?
State what is encapsulation and friend function?
What is the diamond problem in inheritance?
What is the difference between abstraction and polymorphism?
What are the data types in oop?