Math, asked by leoHarshit3977, 10 months ago

In order to restrict a variable of a class from inheriting to subclass, how variable should be declared

Answers

Answered by ItsCuteBoy
0

----------Akhil

Answer:

Explanation: By declaring variable private, the variable will not be available in inherited to subclass. 5. If super class and subclass have same variable name, which keyword should be used to use super class?

Similar questions