In the below code Class B inherits from Class A, and the variables of Class A are assigned through Class B. I