give me the defination of inheritance?
Answers were Sorted based on User's Feedback
inheritance means object of one class acquire the properties of objects of another class.
inheritance primarily for the purpose of code reuse.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / munis
one class property derived another class by using extends keyword
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / nidhi
inheritance is a aquer the base class property aquer the derived class property
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vishal
Inheritance allows a class to inherit attributes and
behaviors (methods) of another class.This allows creation
of brand new classes by abstracting out common attributes
and behavior.
The idea of inheritance is to go from general to specific
by factoring out commonality.
1.Code Reuse
2.Better overall design by organizing classes
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / yuvi
An inheritance is money or property which you receive from
someone who has died.
like: she feared losing her inheritance to her stepmother.
or your inheritance is the particular characteristics or
qualities which your family or ancestors had and which you
are born with
like: Eye colour shows you genetic inheritance.
| Is This Answer Correct ? | 1 Yes | 2 No |
Explain when u will use Observer pattern and how u will implement in c++ .
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
why we are using the fork command?.. how it works?
Who created stl?
HOW TO GET "H1B" -VISA 4 USA FOR MY SON?HE HAD COMPLETED "MS"(IT)FROM AUSTALIA 2007.I AM WORKING IN U.S.A.
How to write a function that goes through an array of characters and eliminates any elements that are not letters (Legal letters can be either in an uppercase or a lowercase format.) The function removeNonLetters should return the new effective size of the array as the result.
What Is Operator Overloading in C++?
a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.
what is compiler?
what is a template?
2 Answers Amazon, BITS, IBS, Wipro,
Which data structure gives efficient search? A. B-tree B. binary tree C. array D. linked list
21 Answers ABC, Sun Microsystems,
what is the difference between thread and process