摘要:
File 路径 By default the classes in the java.io package always resolve relative pathnames against the current user directory. This directory is named by 阅读全文
摘要:
public class ListFiles { public static void main(String[] args) { parseFiles(new File("C:/Users/82341/Desktop/Tools"),0); } public static void parseFi 阅读全文
摘要:
Golang 类型断言 案例 func main() { //定义一个空接口类型 var x interface{} var y float32 = 1.1 //多态 x = y //y = x 错误 y = x.(float32) fmt.Println(y) } 定义 由于接口时一般类型,不知道 阅读全文