摘要: package 静态; import static java.lang.Math.PI;【 静态就是: .* 】import static java.lang.Math.*;import static java.lang.System.*; public class TestStatic { pub 阅读全文
posted @ 2018-10-18 17:24 Monica_维维 阅读(359) 评论(0) 推荐(0)
摘要: package 静态static的使用有疑问; class Test { // 实力变量又叫全局变量 int a; static int b;}public class TestStatic { public static void main(String[] args) { Test t = ne 阅读全文
posted @ 2018-10-18 15:30 Monica_维维 阅读(162) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-10-18 11:57 Monica_维维 阅读(178) 评论(0) 推荐(0)