In order to restrict a variable of a class from inheriting to subclass, how variable should be declared
Answers
Answered by
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