03 2018 档案

二维数组的直接输出
摘要:public class Test1 { public static void main(String args[]){ int myTable[][] = { {23, 45, 65, 34, 21, 67, 78}, {46, 14, 18, 46, 98, 63, 88}, {98, 81, 阅读全文

posted @ 2018-03-23 19:05 Vapid 阅读(310) 评论(0) 推荐(0)

java计算圆的面积和周长
摘要:public class Circle{ private float radius; public Circle(){ this.radius=5.0f; } public Circle(float radius){ this.radius=radius; } public void Area(){ 阅读全文

posted @ 2018-03-12 10:44 Vapid 阅读(9557) 评论(0) 推荐(0)

初识java
摘要:public class Car{ //属性 private String color; private String brand; //构造方法 public Car(String color,String brand){ this.color=color; this.brand=brand; } 阅读全文

posted @ 2018-03-11 21:13 Vapid 阅读(129) 评论(0) 推荐(0)

导航