Journal of Rural and Industrial Development

1. Jyoti Lakhani – Maharaja Ganga Singh University, Bikaner, Rajasthan, India

2. Dharmesh Harwani – Maharaja Ganga Singh University, Bikaner, Rajasthan, India

Received
08-Feb-2016
Accepted
-
Published
08-Feb-2016
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.
Locked
Subscribed
Open Access