...
 
Commits (2)
    https://gitcode.net/csdn/skill_tree_java/-/commit/e71bf23c4da3bc485e58d7d0864fdcb2a7198629 typo 2022-05-30T16:34:02+08:00 Mars Liu mars.liu@outlook.com https://gitcode.net/csdn/skill_tree_java/-/commit/367fa07cd00f57bc85a882d9524634f2b31a5ebf fixed 2022-06-10T16:33:36+08:00 Mars Liu mars.liu@outlook.com
...@@ -62,11 +62,11 @@ public class One implements Parsec<String, String>{ ...@@ -62,11 +62,11 @@ public class One implements Parsec<String, String>{
```java ```java
public interface Parsec<E, T> { public interface Parsec<E, T> {
public Parsec<E, T> then(Parsec<E, T> psc) { default Parsec<E, T> then(Parsec<E, T> psc) {
return state -> { return state -> {
this.parse(state); this.parse(state);
return psc.parse(state) return psc.parse(state);
} };
} }
} }
``` ```
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
## 答案 ## 答案
D 所有都是
## 选项 ## 选项
...@@ -19,7 +19,3 @@ FileInputStream ...@@ -19,7 +19,3 @@ FileInputStream
### C ### C
BufferedInputStream BufferedInputStream
### D
以上都是
...@@ -44,4 +44,4 @@ try{ ...@@ -44,4 +44,4 @@ try{
### D ### D
以上都是 所有例子都是错的
# 遗留的集合 # 遗留的集合
下面哪些是遗留的集合: Java 标准库中有一些类型,已经不再推荐使用,仅因为兼容旧代码才保留下来。下面哪些是遗留的集合:
## 答案 ## 答案
以上都是 所有都是
## 选项 ## 选项
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
## 答案 ## 答案
ATreeMap继承于AbstractMap,实现了Map, Cloneable, NavigableMap, Serializable接口 TreeMap继承于AbstractMap,实现了Map, Cloneable, NavigableMap, Serializable接口
## 选项 ## 选项
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"depends": [], "depends": [],
"type": "qa_task", "type": "qa_task",
"task_link": "https://ask.csdn.net/channel/7/tag/13", "task_link": "https://ask.csdn.net/channel/7/tag/13",
"task_info":{ "task_info": {
"tag_name": "java" "tag_name": "java"
}, },
"notebook_enable": false, "notebook_enable": false,
......
此差异已折叠。