Simulation of Multiple Inheritance in Java Swaroop, Sonal
dc.contributor.department Computational Sciences en_US 2016-04-19T15:20:12Z 2016-04-19T15:20:12Z 2016
dc.description.abstract Multiple 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.publisher Middle Tennessee State University
dc.subject Java
dc.subject Multiple Inheritance
dc.subject C++
dc.subject Twin pattern
dc.subject Dynamic multiple inheritance
dc.title Simulation of Multiple Inheritance in Java
dc.type Presentation
Original bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Simulation of Multiple Inheritance in Java.pdf
556.02 KB
Adobe Portable Document Format