![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
练习
chasing wc
这个作者很懒,什么都没留下…
展开
-
test2
package test;public class Person { public static void main(String[] args) { Method m =new Method(); //打印3*8的矩阵 m.count(3,8); //计算矩阵面积 System.out.println("面积为:"+m.square(3,8)); }}class Method{ public原创 2021-03-29 10:02:26 · 68 阅读 · 0 评论 -
test1
Person.javapackage test;public class Person { String name; int age; int sex;//sex 1 表示男性 0 表示女性 public void study(){ System.out.println("studying"); } public void showAge(){ System.out.println("age:" + age); .原创 2021-03-28 22:46:30 · 44 阅读 · 0 评论