Java - Inheritance
Which of the following is the correct syntax to access a parent class variable named
count from a subclass?count from a subclass?super.variableName to access parent class variables.this.super and super-> are invalid in Java; parent is not a keyword.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions