INHERITANCE: Inspired by Biology, Used in JAVA
Reading Time: 4 minutes INTRODUCTION The term inheritance was actually coined in biology but is widely used in programming languages such as java. the concept is analogous to the concept of genetics in biology, where the children inherit the genetic properties from their parents. and it is reflected in them as well. Technically, Inheritance is described as a mechanism where a class can acquire the features and behaviors of Continue Reading