Answer Posted / d n gavade
There are two type of polymorphism i.e.
static(compiplation time) and
Dynamic Polymorphism(Run Time).
In case of Static,
derived class,Base class have same funcion name,the base
class function will be called.
In Case of Dynamic Polymorphism,we can use virtual keyword
in base class function and passing reference of derived
class to the base class pointer, we can call the derived
class function which is override.
| Is This Answer Correct ? | 30 Yes | 2 No |
Post New Answer View All Answers
Is html an oop?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
What is interface in oop?
What is data binding in oops?
What are two types of polymorphism?
What does enum stand for?
Why do we use inheritance?
is there any choice in opting subjects like 4 out of 7
What does and I oop and sksksk mean?
What are the three main types of variables?
How do you define a class in oop?
What is object and class in oops?
write a C++ program for booking using constructor and destructor.
What language is oop?
How oops is better than procedural?