上一页 1 ··· 6 7 8 9 10
摘要: 随机数: Random() “Creates a new random number generator. This constructor sets the seed of the random number generator to a value very likely to be disti 阅读全文
posted @ 2019-03-17 22:55 connie313 阅读(257) 评论(0) 推荐(0) 编辑
摘要: static 即使没有创建对象,也能调用这个方法。 当Static method, static变量有定义,不同对象将指向同一存储空间,将其初始化。 存储方式 寄存器 堆栈:对象引用,需要知道存活多久,以便上下移动指针 堆:对象,不会知道存活多久 常量存储 非RAM存储 生命周期: 在堆中动态创建对 阅读全文
posted @ 2019-03-16 23:04 connie313 阅读(114) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10