Ted Yu ted_yu-/E1597aS9LQAvxtiuMwx3w@public.gmane.org [seajug]
2014-05-17 16:19:23 UTC
Hi,
There're currently two classes, A and B, which are both abstract and B extends A.
A has this method:
public void setReversed(boolean reversed) {
this.reversed = reversed;
}
If I make A an interface and move the above method to B, what would happen to client code which was compiled against old API (extending B, not A) but is executed against jar built with new API ?
Thanks
There're currently two classes, A and B, which are both abstract and B extends A.
A has this method:
public void setReversed(boolean reversed) {
this.reversed = reversed;
}
If I make A an interface and move the above method to B, what would happen to client code which was compiled against old API (extending B, not A) but is executed against jar built with new API ?
Thanks