Start
Archiwum
Autorzy
Współpraca
Redakcja
Switch to
Zaloguj
/
Zarejestruj się
Komentarze do:
Express killers, cz. V
Tylko zalogowani użytkowincy mogą pisać komentarze
Daniel Drozdzewski - 2011-02-09
Damian,
I know that the article is over a year old, but I only discovered exPress.
In your first example you say that String is immutable, hence it cannot be extended.
It is true that String is immutable and it is also true that it cannot be extended, but former does not imply the latter.
String cannot be extended because it is final class.
It cannot be modified, because is immutable.
Other than this, good article!
Thanks!
Daniel Drozdzewski - 2011-02-09
Daniel Drozdzewski - 2011-02-09
FORMATTING FAIL
Grzegorz Duda - 2011-02-09
Daniel, you are completely right.
Tylko zalogowani użytkowincy mogą pisać komentarze
Daniel Drozdzewski - 2011-02-09
I know that the article is over a year old, but I only discovered exPress.
In your first example you say that String is immutable, hence it cannot be extended.
It is true that String is immutable and it is also true that it cannot be extended, but former does not imply the latter.
String cannot be extended because it is final class.
It cannot be modified, because is immutable.
Other than this, good article!
Thanks!
Daniel Drozdzewski - 2011-02-09
Daniel Drozdzewski - 2011-02-09
Grzegorz Duda - 2011-02-09