On Sat, 11 Jun 2022 at 06:08, Sumanth Rajkumar <rajkumar.suma...@gmail.com>
wrote:

>
> The type change would have been source compatible where existing
> applications would have to recompile  (without any code changes) to run
> with the new version?
>

Yes.


>
> So yes, we cannot change Complex type to interface to maintain binary
> runtime compatibility
>
> I assume, binary compatibility would be maintained if we add additional
> interfaces with new methods to Complex class?
>

Yes. To use new methods another application would have to recompile source.
Those applications that do now recompile source are ignorant of any new
methods.

Reply via email to