1 Star 0 Fork 0

CS-IMIS-23/20172305TX

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
NameTag.java 728 Bytes
一键复制 编辑 原始数据 按行查看 历史
三金 提交于 7年前 . 完成第8章的例子代码
//*************************************************************************************
// NameTag.java Aythor: Lewis/Loftus
//
// Demonstrates the use of command line arguments.
//*************************************************************************************
public class NameTag
{
//-----------------------------------------------------------------------------------
// Prints a simple name tag using greeting and a name that is specified by the user.
//-----------------------------------------------------------------------------------
public static void main(String[] args)
{
System.out.println();
System.out.println(" " + args[0]);
System.out.println("My name is " + args[1]);
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/CS-IMIS-23/20172305TX.git
git@gitee.com:CS-IMIS-23/20172305TX.git
CS-IMIS-23
20172305TX
20172305TX
master

搜索帮助