Thursday, 09 Apr, 2020

+91-9899775880

+91-9212715375

011-47044510

A Complete Inter-Class Sharing During the Inheritance to Enhance Reusability of Public Data and Their Access Control Using Dominance

International Journal of System and Software Engineering

Volume 3 Issue 2

Published: 2015
Author(s) Name: Jyoti Lakhani, Dharmesh Harwani | Author(s) Affiliation: Maharaja Ganga Singh University, Bikaner, Rajasthan, India
Locked Subscribed Available for All

Abstract

Inheritance is used for re-usability in an object oriented programming language. The complete re-usability is not possible with the simple inheritance process. On inheriting parent class, the child does not get a complete access to the inherited data. Only an instance of the values of inherited data has been accessible by the child class and it is true even for the public data. The present communication is a concept paper in which a special inheritance method has been conceptualized. This proposed method is called backward accessibility inheritance. Once inherited, the public data item of the parent class can be shared by the child class in all sense. This way the inherited data item can be truly reused by child class in terms of memory space, name and value. To control the accessibility of the data during the backward accessibility inheritance, concept of dominance has also been introduced.

Keywords: Inheritance, Object Oriented Programming, Backward Accessibility, Dominance

View PDF

Refund policy | Privacy policy | Copyright Information | Contact Us | Feedback © Publishingindia.com, All rights reserved