not so in Java. if a class exposes a certain interface which other classes
use, newer versions can add methods or remove unused methods w/o a need to
recompile the using classes.

Even more "breaking" changes are allowed, see http://java.sun.com/docs/books/jls/second_edition/html/binaryComp.doc.html



Alexander Maryanovsky.


At 12:57 15.08.2003 +0300, Oded Arbel wrote:
On Thursday 14 August 2003 15:15, Aviram Jenik wrote:

> > in C I would put the new .obj (compiled code) instead of the old one, and
> > try to link...
>
> Again, unless I'm not following you, you cannot do that in C++ either. If
> the interface *changed*, and other classes are using that interface, you
> will need to recompile them.

not so in Java. if a class exposes a certain interface which other classes
use, newer versions can add methods or remove unused methods w/o a need to
recompile the using classes.

--
Oded


================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to