Answers for "why dont you need setter inheritance java"

0

inheritance setter and getter in java

public class B extends A {
    @Override
    public final int getA() {
        return super.getA();
    }
    @Override
    public final void setA(int value) {
        super.setA(value);
    }
}
Posted by: Guest on May-13-2020

Code answers related to "why dont you need setter inheritance java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language