Update stack and queue.
This commit is contained in:
@@ -35,5 +35,6 @@ public class queue {
|
||||
|
||||
/* 判断队列是否为空 */
|
||||
boolean isEmpty = queue.isEmpty();
|
||||
System.out.println("队列是否为空 = " + isEmpty);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user