文件名称:零基础java开发零基础入门级代码
文件大小:7KB
文件格式:IML
更新时间:2021-07-12 04:58:05
ada
java基础代码练习[java] view plain copy /** * Created by y0n on 2017/4/17. * 1.输出控制台传递的默认参数 */ public class JavaDay001_1 { public static void main(String[] args) { System.out.println(args); } } /** * Created by y0n on 2017/4/17. * 2.编程求表达式的结果 */ public class JavaDay001_2 { public static void main(String[] args) { System.out.println("128 & 129 = " + (128 & 129)); System.out.println("56 | 32 = " + (56 | 32)); System.out.println("27 ^ 123 = " + (27 ^ 123)); } }