Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit27753bb

Browse files
author
asri71
committed
Removing inheritance from Vector class
1 parent5f22570 commit27753bb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/main/java/com/dataStructures/Stack.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
importjava.io.Serializable;
44
importjava.util.EmptyStackException;
5-
importjava.util.Vector;
65

7-
publicclassStack<E>extendsVectorimplementsSerializable {
6+
publicclassStack<E>implementsSerializable {
87

98
/**
109
* Inital capacity alloted to stack on object creation

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp