摘要: 学习的第四章题 明天继续写 1.获得变量 n 的类型 (1) n.getclass().tostring();单独定义一个方法getType( object a) 无法用与判断,只能获取 (2) 判断的话 可以使用instanceof 格式 n instanceof (type)(想判断的数据类型) 阅读全文
posted @ 2020-08-11 11:13 韦德·沃兹 阅读(70) 评论(0) 推荐(0)