标签:ati system 打印 number pack com version ble str
// 命令行java命令执行的时候这里会报错的,所以需要去com的上一级的目录去java com.mixi.wc.Demo 这样去执行,命令如下
// java com.moxi.wc.Demo aa bb package com.moxi.wc; /** * @author Mr.Wang * @version 1.0 * @since 1.8 */ public class Demo { public static void main(String[] args) { System.out.println(args[0]); // 由上述命令可知打印出来aa } // 方法的重载 从载字看出主要是参数的数量和类型的改变 public int addNumber(int a,int b){ return a + b; } public double addNumber(double a,double b){ return a + b; } }
标签:ati system 打印 number pack com version ble str
原文地址:https://www.cnblogs.com/wchjdnh/p/14398686.html