ARTICLE AD BOX
I have two classes, A extends B. B defines a public method. A overrides this method (without changing the return type). Can I safely remove method in A and preserve binary compatibility? Oracle documentation claims, that Java supports among others:
Moving a method upward in the class hierarchy.Moving implies deleting at source. The 'target' method already existed, so it should be more binary compatible rather than less. I guess the question could be also stated if INVOKEVIRTUAL works if I specify a subclass of the class defining the method, rather than the superclass.
