04 2019 档案

java入门
摘要:public class Test02 { public static void main(String[] args) { //long 长整数型 long cash = 100000000000L; //整数变量,计算器 int count = 0; //while语句 while (cash 阅读全文

posted @ 2019-04-14 17:08 rks888 阅读(99) 评论(0) 推荐(0)

java.入门
摘要:public static void main(String[] args) { //long 长整数型 long cash = 100000000000L; //整数变量,计算器 int count = 0; //while语句 while (cash > 1) { cash = cash / 2 阅读全文

posted @ 2019-04-14 16:58 rks888 阅读(90) 评论(0) 推荐(0)

java.类
摘要:成员变量就是java中类的属性。 public class Bird{ 解译,公开的class 类。 } 2. 成员方法 成员方法就是java类中的行为。 public void run() { 解译 ,公开的方法。 } 阅读全文

posted @ 2019-04-13 16:43 rks888 阅读(98) 评论(0) 推荐(0)