Waht is inheritance
Answers were Sorted based on User's Feedback
Answer / shilpa
inheritance is the extention of one class into another class
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / priya
inheritance is process by which one acquire the properties
of another class.
In this concept there are base class and derived class
base class is also called super class ,parent class &
derived class is also called subclass,child class.
there are 5 types of inheritance
1.single inheritance
2.multiple inheritance
3.multilevel inheritance
4.hierarchical inheritance
5.hybrid inheritance
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / dilip
Deriving a new class from existing base class is known to be
inheritance.The new derived class will have the functions of
the base class.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / bharghavi
the ability to acquire base class properties is called
inheritance
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vithika
inheritance is a machenism for deriving a new from its old.
| Is This Answer Correct ? | 0 Yes | 0 No |
write a program to search and display the position of an element in a single-dimentional array using function.
why does the execution of a c++ program start with main()???
In what scenario does the Logical file and Physical file being used?
Assume I have a linked list contains all of the alphabets from "A" to "Z?" I want to find the letter "Q" in the list, how does you perform the search to find the "Q?"
Give the output of the following program main() {char *p='a'; int *i=100/*p; } what will be the value of *i= 1
What is the use of stl?
In what cases using of a 'template' is a better approach then using of a 'base class'?
6 Answers Lucent, Mind Tree, Wipro,
write a c++ program to create an object of a class called employee containing the employee code name designation basic salarry HRA Da gross salary as data 10 such objects "members process "
what's the difference between abstract class and concreate class? what's the meaning of standard template library(STL)?
Which data structure gives efficient search? A. B-tree B. binary tree C. array D. linked list
21 Answers ABC, Sun Microsystems,
sir please send me bpcl previous question papers
0 Answers BPCL Bharat Petroleum,
write a program that input four digit number and find how many 7 that number contains