Purchase Solution

Inheritance property & impact on software testing techniques

Not what you're looking for?

Ask Custom Question

Discuss inheritance properties for object oriented programming and its impact on software testing techniques.

Purchase this Solution

Solution Summary

The solution clearly explains the Inheritance property of object oriented programming and its impact on software testing techniques.

Solution Preview

Hi,
Please find the doc attached.

Inheritance:

In object-oriented (OO) programming, inheritance is a way to form new classes (instances of which are called objects) using classes that have already been defined. The new classes, known as derived classes, take over (or inherit) attributes and behavior of the pre-existing classes, which are referred to as base classes (or ancestor classes). It is intended to help reuse existing code with little or no modification.

Inheritance provides the support for representation by categorization

Inheritance is also sometimes called generalization, because the is-a relationships represent a hierarchy between classes of objects.

Inheritance can be either accomplished by polymorphism or overriding (replacing)

Applications of inheritance:

There are many different aspects to inheritance. Different uses focus on different properties, such as the external behavior of objects, internal structure of the object, structure of the inheritance hierarchy, or software engineering properties of inheritance. Sometimes it's desirable to distinguish these uses, as it's not necessarily obvious from context.

1) Specialization

One common reason to use inheritance is to create specializations of existing classes or objects. This is often called Subtyping when applied to classes. In specialization, the new class or ...

Purchase this Solution


Free BrainMass Quizzes
Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Basic Networking Questions

This quiz consists of some basic networking questions.

C++ Operators

This quiz tests a student's knowledge about C++ operators.