Answer Posted / sandeep
Inheritance refers to, the object of one class acquires
the properties of object of another class.
Ex: 'robbin' belongs to the catagiry 'flying bird' but it
also belongs to the catagiry of 'bird'.
Thus it refers to,each derived class shares comman
characteristics with the class from which it is derived.
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
What are the features of oop?
What is byval and byref? What are differences between them?
What is encapsulation c#?
How does polymorphism work?
How to call a non virtual function in the derived class by using base class pointer
What is difference between pop and 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.
Can a destructor be called directly?
#include
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
Why oops is important?
Where is pseudocode used?
What is oops concept with example?
Why we use classes in oop?
What are the 5 oop principles?