Say i have two classes:
public class A {
protected String name;
}
public class B extends A {
// here i want to use the name defined in the parent, how should i reference it
// should i use super:
super.name;
// or should i use this
this.name;
}
Which one is better and why? Both work correctly!
Greetings
Marcus