StudentRecord is superclass and Record is subclass. When we are accessing the variable in Record class, so compiler always prints the variable declared in same class. To access the variable of StudentRecord we will use what ? Implement the statement.
StudentRecord is superclass and Record is subclass. When we are accessing the variable in Record class, so compiler always prints …
Share