Simulation of Multiple Inheritance in Java

dc.contributor.authorSwaroop, Sonal
dc.contributor.departmentComputational Sciencesen_US
dc.date.accessioned2016-04-19T15:20:12Z
dc.date.available2016-04-19T15:20:12Z
dc.date.issued2016
dc.description.abstractMultiple inheritance is a cornerstone of OOPs paradigms with benefits such as reusability (using methods of parent class by child classes), extensibility (extending the parent class logic as per business logic of the child class), data hiding (base class may keep some data private so that it cannot be altered by the derived class), and lesser compilation time. But there is no consensus among researchers on the semantics of multiple inheritance in the presence of method overriding and potential conflicts due to multiple definitions. C++, Common lisp and few other languages supports multiple inheritance while java doesn't support it. It is just to remove ambiguity, because multiple inheritance can cause ambiguity in few scenarios such as Diamond problem. James Gosling quotes “JAVA omits many rarely used, poorly understood, confusing features of C++ that in our experience bring more grief than benefit. This primarily consists of operator overloading and multiple inheritance. Java creators provided users with much easier and robust alternative to multiple inheritance i.e. interfaces, composition and abstract classes that alleviate problem during casting and constructor chaining. The primary objective of this research study is to develop a trade-off between multiple inheritance in C++ and substitution for multiple inheritance in Java and conclude if multiple inheritance is good programming technique and if Java should introduce direct implementation of multiple inheritance. The secondary objective is to introduce novel ways to substitute multiple inheritance in Java such as twin pattern and dynamic multiple inheritance, and conclude if such implementations may bring much easier and feasible alternatives to interfaces
dc.identifier.urihttp://jewlscholar.mtsu.edu/handle/mtsu/4823
dc.publisherMiddle Tennessee State University
dc.subjectJava
dc.subjectMultiple Inheritance
dc.subjectC++
dc.subjectTwin pattern
dc.subjectDynamic multiple inheritance
dc.titleSimulation of Multiple Inheritance in Java
dc.typePresentation

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Simulation of Multiple Inheritance in Java.pdf
Size:
556.02 KB
Format:
Adobe Portable Document Format