摘要:
package com.fs.test; public class Test { public static void main(String[] args) { // 先声明后赋值 book b;//声明一个Book类型的引用变量b b = new book();//通过new创建好对象后,将对象的地址赋给b变量,对象中保存的是成员变... 阅读全文
摘要:
package com.fs.test; public class Test { public void aMethod(int a, int b) { int add = a + b;//*表示加法运算 int reduce = a - b;//*表示减法运算 int multiply = a * b;//*表示乘法运算 ... 阅读全文