+ 1
Malick Diagne
Difference is here
https://www.google.com/amp/s/www.geeksforgeeks.org/difference-between-super-and-super-in-java-with-examples/amp/
super represent parent class objects, means you can access parent class methods and variable in child class so here super.num is 100. super () represent parent class constructor means you can access parent class constructor.
If you write this.num then it will be 110.
Here is the example with super and this.
----------------
class Variable {
int num = 100 ;
public Variable () {
System.out.println("Hi");
}
public int getNumber() {
return 10;
}
}
class SousVariable extends Variable {
int num = 110;
public SousVariable() {
super(); // represents parent class constructor
}
void PrintVar () {
System.out.println (super.num); //represents parent class objects
System.out.println(super.getNumber());
System.out.println (num);
}
}



