Java Stack class inherit Vector Class

Posted by SonOfOmer on Stack Overflow See other posts from Stack Overflow or by SonOfOmer
Published on 2010-05-27T15:01:11Z Indexed on 2010/05/27 15:11 UTC
Read the original article Hit count: 374

Filed under:
|
|
|

By extending class Vector, Java’s designers were able to create class Stack quickly. What are the negative aspects of this use of inheritance, particularly for class Stack?

Thanks a lot.

© Stack Overflow or respective owner

Related posts about java

Related posts about inheritance