Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 385 Bytes

Ex_1_3_01.md

File metadata and controls

32 lines (21 loc) · 385 Bytes
title date draft tags categories
算法4 Java解答 1.3.01
2019-02-22 07:36:03 +0800
false
JAVA
技术
归档

1.3.01

问题:

Add a method isFull() to FixedCapacityStackOfStrings.

分析:

判断stack中元素的个数是否等于保存元素数组的大小。

public boolean isFul() {
    return n == a.length;
 }

参考: